Skip to content

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

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

Attribute is less 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.

lte("score", dec("5")) // score <= dec(5)