A helper package to paginate,sort and filter your lists.
$ npm install nest-typeorm-paginator
- See an example in /test/models
// config.pagination.ts
module.exports = {
default: {
sortableColumns: ['id'],
filterableColumns: ['id'],
},
Post: {
sortableColumns: ['id', 'title'],
filterableColumns: ['id', 'title'],
},
};
- Author - Moura Braz