Coding task · NestJS course · Module 3: TypeORM and Databases

Result pagination

Implement result pagination with a TypeORM repository.

Task

Write a findPaginated(page, limit) method that uses findAndCount with skip and take to paginate legionaries