Question · NestJS course · Module 1: NestJS Basics

Separating Data Access

Which design pattern separates data access logic from business logic?

Answer options

  • Repository Pattern
  • Singleton Pattern
  • Observer Pattern
  • Proxy Pattern
Show the answer

Correct answer:

  • Repository Pattern