Skip to main content

CountResult

@webda/models


Interface: CountResult

Defined in: packages/models/src/aggregation.ts:80

Result of a count

Properties​

native​

native: boolean

Defined in: packages/models/src/aggregation.ts:92

false when the in-memory fallback ran


relation​

relation: "eq" | "gte"

Defined in: packages/models/src/aggregation.ts:88

"eq": exact total. "gte": the count stopped at CountOptions.max


value​

value: number

Defined in: packages/models/src/aggregation.ts:84

Rows counted; with relation "gte" the real total is at least this value