This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Refines a filter to match items where the value of the specified field is less than the specified value.
The lt()
method refines this filter to only match
items where the value of the specified field is less than the specified value
.
The method only matches values of the same data type. For example, a number value stored as a string does not match the same number stored as a number.
If a field contains a number as a String, that value is compared alphabetically and not numerically. Items that do not have a value for the specified field are ranked lowest.
The following field types can be compared:
"Text"
is less than "text"
.
Field whose value is compared with value
.
Value to match.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.