S
S
Samat2021-10-27 07:30:16
PostgreSQL
Samat, 2021-10-27 07:30:16

How to write a request in typeorm?

return await this.repo.find({
      where: [
        {
          status: 'new',
        },
        {
          status: 'processing',
        },
      ],
      relations: ['messages']
    });


How to write a request in typeorm to get the "freshest" element?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question