MarkLogic 10 Product Documentation
cts.notInQueryNegativeQuery

cts.notInQueryNegativeQuery(
   query as cts.notInQuery
) as cts.query

Summary

Returns the negative (second parameter) query used to construct the specified query.

Parameters
query A query.

Example

const query = cts.notInQuery(
                 cts.wordQuery("wanted"),
                 cts.wordQuery("not wanted"));
cts.notInQueryNegativeQuery(query);

  => cts:word-query("not wanted", (), 1)
Powered by MarkLogic Server | Terms of Use | Privacy Policy