Skip to content

gte<N, V>(name, value): ComparisonNode<ValueRef<N, V>>

Defined in: src/query/expression.ts:320

Attribute is greater than or equal to value, in index order — see ComparisonOperator.

N extends string

V extends PredicateValue

N

V

ComparisonNode<ValueRef<N, V>>

If the name is outside the attribute name grammar.

If the name starts with $ but is not a queryable system attribute, a system attribute is compared against the wrong type, or the value is bytes.

gte("score", dec("3.5")) // score >= dec(3.5)