mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
docs: wrong documentation on QueryBuilder.getCount() (#9935)
This commit is contained in:
parent
7ee6232143
commit
06291cfb31
@ -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")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user