MCPcopy Create free account
hub / github.com/Openpanel-dev/openpanel / orderBy

Method orderBy

packages/db/src/clickhouse/query-builder.ts:236–242  ·  view source on GitHub ↗
(column: string, direction: 'ASC' | 'DESC' = 'ASC')

Source from the content-addressed store, hash-verified

234
235 // Order by methods
236 orderBy(column: string, direction: 'ASC' | 'DESC' = 'ASC'): this {
237 if (this._skipNext) {
238 return this;
239 }
240 this._orderBy.push({ column, direction });
241 return this;
242 }
243
244 // Limit and offset
245 limit(limit?: number): this {

Callers 15

getFunnelMethod · 0.80
getTopPagesMethod · 0.80
getTopEntryExitMethod · 0.80
getTopGenericMethod · 0.80
getTopGenericSeriesMethod · 0.80
getUserJourneyMethod · 0.80
getTopEventsMethod · 0.80
getTopLinkOutMethod · 0.80
getMapDataMethod · 0.80

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected