
cts:not-in-query-negative-query( $query as cts:not-in-query ) as cts:query
Returns the negative (second parameter) query used to construct the specified query.
| Parameters | |
|---|---|
| query | A query. |
let $query := cts:not-in-query(
cts:word-query("wanted"),
cts:word-query("not wanted"))
return cts:not-in-query-negative-query($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.