MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / count

Method count

packages/sql/src/typings.ts:268–268  ·  view source on GitHub ↗
(field?: string | string[], distinct?: boolean)

Source from the content-addressed store, hash-verified

266 delete(cond?: FilterQuery<any>): this;
267 truncate(): this;
268 count(field?: string | string[], distinct?: boolean): this;
269 join(field: string, alias: string, cond?: FilterQuery<any>, type?: JoinType, path?: string): this;
270 innerJoin(field: string, alias: string, cond?: FilterQuery<any>): this;
271 leftJoin(field: string, alias: string, cond?: FilterQuery<any>): this;

Implementers 1

QueryBuilderpackages/sql/src/query/QueryBuilder.ts

Calls

no outgoing calls

Tested by 1

childExistsFunction · 0.52