op.ne( valueExpression as String, valueExpression as String ) as booleanExpression
This function returns true
if the value of the left expression is
not equal to the value of the right expression. Otherwise, it returns
false
.
Parameters | |
---|---|
valueExpression | The left value expression. |
valueExpression | The right value expression. |
const op = require('/MarkLogic/optic'); const employees = op.fromView('main', 'employees'); employees.where(op.ne(employees.col('EmployeeID'), 3)) .result();
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.