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

Method groupBy

packages/sql/src/typings.ts:284–284  ·  view source on GitHub ↗
(fields: (string | keyof T) | (string | keyof T)[])

Source from the content-addressed store, hash-verified

282 orWhere(cond: FilterQuery<T> | string | RawQueryFragment | Dictionary, params?: any[]): this;
283 orderBy(orderBy: QueryOrderMap<T>): this;
284 groupBy(fields: (string | keyof T) | (string | keyof T)[]): this;
285 having(cond?: FilterQuery<any> | string, params?: any[]): this;
286 getAliasForJoinPath(path: string, options?: ICriteriaNodeProcessOptions): string | undefined;
287 getJoinForPath(path?: string, options?: ICriteriaNodeProcessOptions): JoinOptions | undefined;

Callers 15

countByMethod · 0.65
countFunction · 0.65
getNativeQueryMethod · 0.65
wrapPaginateSubQueryMethod · 0.65
processMethod · 0.65
wrapPaginateSubQueryMethod · 0.65

Implementers 1

QueryBuilderpackages/sql/src/query/QueryBuilder.ts

Calls

no outgoing calls

Tested by

no test coverage detected