Chapter quiz · Data & Persistence

Test what you learned.

8 questions on Data & Persistence. Pass 70% to clear the chapter.

← Review chapter lessons

Quiz

Data Access — Chapter Quiz

Quiz yourself on TypeORM, Prisma, Mongoose, and persistence patterns.

0/ 9
  1. Question 1
    1

    What does TypeOrmModule.forFeature([User]) do?

  2. Question 2
    2

    Which decorator declares a TypeORM column?

  3. Question 3
    3

    How do you inject a TypeORM repository in a service?

  4. Question 4
    4

    What is the main reason to choose Prisma over TypeORM?

  5. Question 5
    5

    Which TypeORM decorator declares a many-to-many relation?

  6. Question 6
    6

    TypeORM transactions can be run with a callback via dataSource.transaction(...).

  7. Question 7
    7

    For MongoDB in Nest, the standard library is @nestjs/___.

  8. Question 8
    8

    Common ways to paginate a database query include

    Select all that apply.

Pick an answer — instant feedback as you go.