Question · NestJS course · Module 3: TypeORM and Databases
The findAndCount method
What does the findAndCount() repository method in TypeORM return?
Answer options
- Only the number of records
- A tuple [array of records, total number of records]
- Only an array of records
- An object with data and count keys
You can check the correct answer by solving this task in the CodeWorlds game.