cts.notInQueryNegativeQuery( query as cts.notInQuery ) as cts.query
Returns the negative (second parameter) query used to construct the specified query.
Parameters | |
---|---|
query | A query. |
const query = cts.notInQuery(
cts.wordQuery("wanted"),
cts.wordQuery("not wanted"));
cts.notInQueryNegativeQuery(query);
=> cts:word-query("not wanted", (), 1)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.