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

Method orderBy

packages/sql/src/typings.ts:283–283  ·  view source on GitHub ↗
(orderBy: QueryOrderMap<T>)

Source from the content-addressed store, hash-verified

281 andWhere(cond: FilterQuery<T> | string | RawQueryFragment | Dictionary, params?: any[]): this;
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;

Callers 15

getNativeQueryMethod · 0.65
getCountMethod · 0.65
wrapPaginateSubQueryMethod · 0.65
wrapPaginateSubQueryMethod · 0.65
getExecutedMigrationsMethod · 0.65
GH6194.test.tsFile · 0.65

Implementers 1

QueryBuilderpackages/sql/src/query/QueryBuilder.ts

Calls

no outgoing calls

Tested by

no test coverage detected