NestJS · Senior · Question 64 of 75

How would you implement soft-delete filtering globally with TypeORM in Nest?

Explanation

Unique constraints still need care (partial indexes), and raw queries don't apply the filter automatically.

Further reading

Problem with a question

NestJS · Senior · question 64

Test yourself

Take the NestJS · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz