nestjs-typeorm-paginate icon indicating copy to clipboard operation
nestjs-typeorm-paginate copied to clipboard

:page_with_curl: Pagination response object function + types for typeorm + nestjs

Results 65 nestjs-typeorm-paginate issues
Sort by recently updated
recently updated
newest added

`import * as nestjsTypeormPaginate from 'nestjs-typeorm-paginate';` `jest.spyOn(nestjsTypeormPaginate, 'paginate').mockImplementationOnce(() => Promise.resolve({items: [], meta: {}}))` **Actual Behaviour** TypeError: Cannot redefine property: paginate at Function.defineProperty () **Expected Behaviour** `{items: [], meta: {}}`

The select count from query counts total rows returned. That returns an incorrect `total_items` value. Should fix https://github.com/nestjsx/nestjs-typeorm-paginate/issues/758. The regression was introduced https://github.com/nestjsx/nestjs-typeorm-paginate/pull/612

Bumps [typeorm](https://github.com/typeorm/typeorm) from 0.3.6 to 0.3.17. Release notes Sourced from typeorm's releases. 0.3.17 Bug Fixes #10040 TypeORM synchronize database even if it is up to date (#10041) (b1a3a39) add missing...

dependencies

Can you please also make that paginate method accepts: Array of `FindOptionsWhere` to easy apply OR operators.

Bumps [@nestjs/core](https://github.com/nestjs/nest) from 7.6.18 to 9.0.5. Release notes Sourced from @​nestjs/core's releases. v9.0.5 (2022-07-20) Bug fixes common, platform-express #9819 fix: use pipeline over stream.pipe (@​jmcdo29) Enhancements microservices #9798 feat(microservices): add...

dependencies

Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.9.4 to 4.9.5. Commits See full diff in compare view [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typescript&package-manager=npm_and_yarn&previous-version=4.9.4&new-version=4.9.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...

dependencies

Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...

dependencies

Hello, i'm trying to build a generic service using this module. It can result in using property not present in the entity, in the where clause of the `FindManyOptions` object...

Hello! I am using the example with TypeOrm and MySQL: @Injectable() export class CatService { builder( @InjectRepository(CatEntity) private readonly repository: Repository, ) {} async paginate(options: IPaginationOptions): Promise { return paginate(this.repository,...

I want to be able to use function paginate, but being able to remain my current filters query params. For instance, I have the following endpoint: ``` @Get("/") async index(...