Skip to content

IndexOp

IndexOp = Extract<keyof IndexRangeBuilder<GenericDocument, string[], 0>, string>

Defined in: packages/core/src/access/constraintTypes.ts:19

Every operator a Convex IndexRangeBuilder exposes at its first position, derived from the builder’s own type rather than hand-listed — a new upstream method appears here automatically, and a rename fails compilation instead of silently drifting. Convex’s private nominal markers never surface in keyof, so this resolves to exactly "eq" | "gt" | "gte" | "lt" | "lte".