- 0 or more equality expressions defined with
.eq. - [Optionally] A lower bound expression defined with
.gtor.gte. - [Optionally] An upper bound expression defined with
.ltor.lte.
["projectId", "priority"], a range searching for “messages in ‘myProjectId’
with priority at least 100” would look like:
Type parameters
Hierarchy
-
LowerBoundIndexRangeBuilder<Document,IndexFields[FieldNum]> ↳IndexRangeBuilder
Methods
eq
▸ eq(fieldName, value): NextIndexRangeBuilder<Document, IndexFields, FieldNum>
Restrict this range to documents where doc[fieldName] === value.
Parameters
Returns
NextIndexRangeBuilder<Document, IndexFields, FieldNum>
gt
▸ gt(fieldName, value): UpperBoundIndexRangeBuilder<Document, IndexFields[FieldNum]>
Restrict this range to documents where doc[fieldName] > value.
Parameters
Returns
UpperBoundIndexRangeBuilder<Document, IndexFields[FieldNum]>
Inherited from
LowerBoundIndexRangeBuilder.gtgte
▸ gte(fieldName, value): UpperBoundIndexRangeBuilder<Document, IndexFields[FieldNum]>
Restrict this range to documents where doc[fieldName] >= value.
Parameters
Returns
UpperBoundIndexRangeBuilder<Document, IndexFields[FieldNum]>
Inherited from
LowerBoundIndexRangeBuilder.gtelt
▸ lt(fieldName, value): IndexRange
Restrict this range to documents where doc[fieldName] < value.
Parameters
Returns
IndexRange
Inherited from
LowerBoundIndexRangeBuilder.ltlte
▸ lte(fieldName, value): IndexRange
Restrict this range to documents where doc[fieldName] <= value.
Parameters
Returns
IndexRange