Refines a query to match items whose specified property value is less than the specified value.
The lt()
function refines a SessionQueryBuilder
to only match
items where the value of the specified property is less than the specified value
.
function lt(propertyName: string, value: Date): SessionQueryBuilder;
The property whose value will be compared with value
.
Supported properties:
end.timestamp
The value to match against.
let query = sessions
.querySessions()
.lt("start.timestamp", "2021-04-27T10:00:00.000Z");
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.