nestjs-paginate
nestjs-paginate copied to clipboard
Pagination and filtering helper method for TypeORM repositories or query builders using Nest.js framework :book::paperclip:
Is there a way to make filter field values case-insensitive? By default `/users?filter.firstName=john` would return ZERO result if you have `John` or` JOHN` instead of `john` in the database.
Hi, This issue is clearly related to #869 but the solution provided in that issue is not working for me. If I use it like this, relations are loaded properly:...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@typescript-eslint/eslint-plugin](https://typescript-eslint.io/packages/eslint-plugin) ([source](https://redirect.github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin)) | [`^7.18.0` -> `^8.10.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/7.18.0/8.10.0) | [](https://docs.renovatebot.com/merge-confidence/) |...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`^20.16.1` -> `^20.16.2`](https://renovatebot.com/diffs/npm/@types%2fnode/20.16.1/20.16.2) | [](https://docs.renovatebot.com/merge-confidence/) |...
I wanted to perform this and I thought it's gonna work: ```ts const dbEntries = await paginate(query, this.clientsRepo, { sortableColumns: getColumns(this.clientsRepo, true).names, select: getColumns(this.clientsRepo, true).names, origin: '', // 👈 })...
Hey! I think the changes made in #393 are not fully correct. SHOULD: My expectation would be that "maxLimit=-1" would enable the caller to use no pagination if he wants...
Based on the documentation, if you want to enable the `select` feature through the URL query `(localhost?select=...)`, you have to ensure doing two things: **First** you must add the `select`...
## Steps to reproduce Perform a filter query with an `$eq` filter with a string that contains "what JS believes to be a number, but that is actually a string"™...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/node](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node)) | [`^20.16.10` -> `^20.16.13`](https://renovatebot.com/diffs/npm/@types%2fnode/20.16.10/20.16.13) | [](https://docs.renovatebot.com/merge-confidence/) |...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/lodash](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lodash) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash)) | [`^4.17.7` -> `^4.17.12`](https://renovatebot.com/diffs/npm/@types%2flodash/4.17.7/4.17.12) | [](https://docs.renovatebot.com/merge-confidence/) |...