Answer the question
In order to leave comments, you need to log in
How to properly filter a typeorm request?
Tell me please, I'm looking in the database table for everything except where status is not 1 and not 4
const orders = await this.orderRepository.find({
status: Not(1),
});
const orders = await this.orderRepository.find({
status: Not(1,4),
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question