UNPKG

@convex-dev/geospatial

Version:
18 lines 963 B
import type { QueryCtx } from "../_generated/server.js"; import type { Interval } from "../lib/interval.js"; import type { Logger } from "../lib/logging.js"; import { type Primitive } from "../lib/primitive.js"; import { type TupleKey } from "../lib/tupleKey.js"; import { DatabaseRange } from "./databaseRange.js"; import type { Stats } from "./zigzag.js"; export declare class FilterKeyRange extends DatabaseRange { private filterKey; private filterValue; constructor(ctx: QueryCtx, logger: Logger, filterKey: string, filterValue: Primitive, cursor: TupleKey | undefined, interval: Interval, prefetchSize: number, stats: Stats); initialQuery(): Promise<TupleKey[]>; advanceQuery(lastKey: TupleKey): Promise<TupleKey[]>; seekQuery(tuple: TupleKey): Promise<TupleKey[]>; getCounterKey(): string; } export declare function filterCounterKey(filterKey: string, filterValue: Primitive): string; //# sourceMappingURL=filterKeyRange.d.ts.map