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

Method setPartitionLimit

packages/sql/src/query/QueryBuilder.ts:2058–2062  ·  view source on GitHub ↗

@internal

(opts: { partitionBy: string; limit: number; offset?: number })

Source from the content-addressed store, hash-verified

2056
2057 /** @internal */
2058 setPartitionLimit(opts: { partitionBy: string; limit: number; offset?: number }): this {
2059 this.ensureNotFinalized();
2060 this.#state.partitionLimit = opts;
2061 return this;
2062 }
2063
2064 cache(config: boolean | number | [string, number] = true): this {
2065 this.ensureNotFinalized();

Callers 1

Calls 1

ensureNotFinalizedMethod · 0.95

Tested by

no test coverage detected