docs: wrong documentation on QueryBuilder.getCount() (#9935)

This commit is contained in:
☃ Elliot Shepherd 2023-04-15 19:38:31 +10:00 committed by GitHub
parent 7ee6232143
commit 06291cfb31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1762,7 +1762,7 @@ export class SelectQueryBuilder<Entity extends ObjectLiteral>
/**
* Gets count - number of entities selected by sql generated by this query builder.
* Count excludes all limitations set by setFirstResult and setMaxResults methods call.
* Count excludes all limitations set by offset, limit, skip, and take.
*/
async getCount(): Promise<number> {
if (this.expressionMap.lockMode === "optimistic")