ge( )


Refines a query to match items whose specified property value is greater than or equal to the specified value.

The ge() function refines a SessionQueryBuilder to only match items where the value of the specified property is greater than or equal to the specified value.

Method Declaration
Copy
function ge(propertyName: string, value: Date): SessionQueryBuilder;
Method Parameters
propertyNamestringRequired

The property whose value will be compared with value.

Supported properties:

  • start.timestamp

valueDateRequired

The value to match against.

Returns
JavaScript
let query = sessions .querySessions() .ge("startTime", "2020-04-27T10:00:00.000Z");
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?