cts.andQueryQueries( query as cts.andQuery ) as Sequence
Returns a sequence of the queries that were used to construct the specified query.
Parameters | |
---|---|
query | A query. |
cts.andQueryQueries(query); => ... a Sequence of the queries used to construct this query
const query = cts.andQuery([ cts.wordQuery("to be or"), cts.wordQuery("or not to be")]); cts.andQueryQueries(query); => Sequence( cts.wordQuery("to be or", ["lang=en"], 1), cts.wordQuery("to be or", ["lang=en"], 1))
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.