
cts:and-query-queries( $query as cts:and-query ) as cts:query*
Returns a sequence of the queries that were used to construct the specified query.
| Parameters | |
|---|---|
| query | A query. | 
  cts:and-query-queries($query)
  => ... a sequence of the queries used to
            construct this query
let $query :=
  cts:and-query((
    cts:word-query("to be or"),
    cts:word-query("or not to be")))
return cts:and-query-queries($query)
  => (cts:word-query("to be or", (), 1)
         cts:word-query("or not to be", (), 1))
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.