
op.not( booleanExpression as xs.boolean ) as booleanExpression
This function returns true if neither of the specified boolean expressions
return true. Otherwise, it returns false.
| Parameters | |
|---|---|
| booleanExpression | Exactly one boolean expression. See Boolean Expression Functions for the list of functions used to build boolean expressions. |
const op = require('/MarkLogic/optic');
op.fromLiterals([
{group:1, val:2},
{group:1, val:4},
{group:2, val:3},
{group:2, val:5},
{group:2, val:7}
])
.where(op.not(op.eq(op.col('group'), 2)))
.result();
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.