op.ge

op.ge(
   valueExpression as String,
   valueExpression as String
) as booleanExpression

Summary

This function returns true if the value of the left expression is greater than or equal to the value of the right expression. Otherwise, it returns false.

Parameters
valueExpression The left value expression.
valueExpression The right value expression.

Example

const op = require('/MarkLogic/optic');
const employees = op.fromView('main', 'employees');
 
employees.where(op.ge(employees.col('EmployeeID'), 3))
.result();
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy