Skip to main content
server.RelationIndexRangeBuilder Builds the index range of withIndex with the ordinary index-range rules: equalities on the index’s fields in index order, then an optional lower bound and an optional upper bound on the next field. Values are literals or declared arguments (q.arg).

Type parameters

Methods

eq

▸ eq<Field, V>(field, value): RelationIndexRangeBuilder<[…Steps[], { type: "Eq" ; field: Field ; value: V }]>

Type parameters

Parameters

Returns

RelationIndexRangeBuilder<[…Steps[], { type: "Eq" ; field: Field ; value: V }]>

gt

▸ gt<Field, V>(field, value): RelationIndexRangeBuilder<[…Steps[], { type: "Gt" ; field: Field ; value: V }]>

Type parameters

Parameters

Returns

RelationIndexRangeBuilder<[…Steps[], { type: "Gt" ; field: Field ; value: V }]>

gte

▸ gte<Field, V>(field, value): RelationIndexRangeBuilder<[…Steps[], { type: "Gte" ; field: Field ; value: V }]>

Type parameters

Parameters

Returns

RelationIndexRangeBuilder<[…Steps[], { type: "Gte" ; field: Field ; value: V }]>

lt

▸ lt<Field, V>(field, value): RelationIndexRangeBuilder<[…Steps[], { type: "Lt" ; field: Field ; value: V }]>

Type parameters

Parameters

Returns

RelationIndexRangeBuilder<[…Steps[], { type: "Lt" ; field: Field ; value: V }]>

lte

▸ lte<Field, V>(field, value): RelationIndexRangeBuilder<[…Steps[], { type: "Lte" ; field: Field ; value: V }]>

Type parameters

Parameters

Returns

RelationIndexRangeBuilder<[…Steps[], { type: "Lte" ; field: Field ; value: V }]>