nestjs-typeorm-paginate
nestjs-typeorm-paginate copied to clipboard
:page_with_curl: Pagination response object function + types for typeorm + nestjs
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 17.0.25 to 18.7.1. Commits See full diff in compare view [](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...
Hello, This is my code: ```js const referrals = this.referralRepository .createQueryBuilder('referrals') .leftJoinAndSelect('referrals.stages', 'stages') .leftJoinAndSelect('referrals.patient', 'patient') .leftJoinAndSelect('referrals.receiver', 'receiver') .leftJoinAndSelect('referrals.sender', 'sender') .orderBy('stages.created_at', 'DESC') .orWhere('receiver.id = :id AND stages.scheduleTimes IS NOT NULL', {...
Please check PR #762
fix peerDependencies if you fix this issue. I will be to change using another library. because this issue is blocker
Fixes #749 This PR adds `^9.0.0` to the peer deps for `@nestjs/common`. So this package can be used with version 9. I have tested it quickly with a local project...
In this commit https://github.com/nestjsx/nestjs-typeorm-paginate/commit/890ee164e15a1495782917b8443f0cd4cca0b7c0#diff-c58e144dadf00250381ed55e6ce83245cda76aca84131ad494fd4911932f656f. a custom total count query was introduced instead of TypeORMs` qb.getCount()`; this query being SELECT COUNT(\*) FROM (..) returns number of all rows returned by query...
use SelectQueryBuilder and join 2 table and TAKE_AND_SKIP `pageinate.mate.totalItems` will return raw of number, **is error** it must return count of only master table like this 1.[items,**_count_** ] =selectQueryBuilder.take(10).skip(20).getManyAndCount() 2....
Hello, currently, it seems to me that if i build a query builder with .innerJoinAndMapOne, I can't use the mapped entities columns inside paginate - sortableColumns nor filterableColumns. Is this...
Bumps [ts-node](https://github.com/TypeStrong/ts-node) from 10.7.0 to 10.9.1. Release notes Sourced from ts-node's releases. v10.9.1 Fixed Workaround nodejs bug introduced in 18.6.0 (#1838) @cspotcode Only affects projects on node >=18.6.0 using --esm...
NestJS 9
Hi NestJS 9 has released, nestjs-typeorm-paginate requires @nestjs/common 7 or 8 as a peer dependency but not 9. ^9.0.0 should be added to the peer dependency.