nestjs-paginate
nestjs-paginate copied to clipboard
Pagination and filtering helper method for TypeORM repositories or query builders using Nest.js framework :book::paperclip:
Hello, I'm really enjoying using this library in my project, and it's making things much easier for me. However, I'm currently facing a performance issue when using the `Query Builder`...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@nestjs/common](https://nestjs.com) ([source](https://redirect.github.com/nestjs/nest/tree/HEAD/packages/common)) | [`^10.0.0` -> `^10.4.5`](https://renovatebot.com/diffs/npm/@nestjs%2fcommon/10.3.8/10.4.5) | [](https://docs.renovatebot.com/merge-confidence/) |...
Fixes #1000 by adding an additional check: `/^\d+$/.test(value)` I also took the liberty of pulling out the function and (hopefully) increasing readability I haven't had a chance to test this...
## Description This PR introduces an enhancement to the search functionality in the paginate function, allowing for more flexible and powerful searches across multiple columns. ## Changes Made - Modified...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [typescript](https://www.typescriptlang.org/) ([source](https://redirect.github.com/microsoft/TypeScript)) | [`^5.5.4` -> `^5.6.3`](https://renovatebot.com/diffs/npm/typescript/5.5.4/5.6.3) | [](https://docs.renovatebot.com/merge-confidence/) |...
Closes #997 , quick recap: TypeORM is abandoned, I "fixed" this by pulling in my fork as dev dependency. I added a note in the README for users to install...
Due to an [upstream issue](https://github.com/typeorm/typeorm/issues/10135) in TypeORM sorting by `home.countCat` is broken in pgSQL: ``` for SELECT DISTINCT, ORDER BY expressions must appear in select list QueryFailedError: for SELECT DISTINCT,...
Is there a particular reason why we disable applying the `andWhere` to the query builder when the original repo argument was not a repository? ``` if (config.where && repo instanceof...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@types/express](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express) ([source](https://redirect.github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/express)) | [`^4.17.21` -> `^5.0.0`](https://renovatebot.com/diffs/npm/@types%2fexpress/4.17.21/5.0.0) | [](https://docs.renovatebot.com/merge-confidence/) |...
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [pg](https://redirect.github.com/brianc/node-postgres) ([source](https://redirect.github.com/brianc/node-postgres/tree/HEAD/packages/pg)) | [`^8.12.0` -> `^8.13.0`](https://renovatebot.com/diffs/npm/pg/8.12.0/8.13.0) | [](https://docs.renovatebot.com/merge-confidence/) |...