Loading TOC...

MarkLogic 12 EA 2 Product Documentation
cts.notQueryQuery

cts.notQueryQuery(
   query as cts.notQuery
) as cts.query

Summary

Returns the query used to construct the specified query.

Parameters
query A query.

Example

const query = cts.notQuery("MarkLogic Server);
cts.notQueryQuery(query);

=> cts.wordQuery("MarkLogic Server", ["lang=en"], 1)

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.