NestJS · Middle · Question 34 of 75

What's a clean way to keep Prisma or TypeORM details out of business logic?

Explanation

This adds a layer, so it pays off in larger domains or when you need to swap storage or test without a database.

Further reading

Problem with a question

NestJS · Middle · question 34

Test yourself

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

Take this quiz