
cts.andQueryOptions( query as cts.andQuery ) as Sequence
Returns the options for the specified query.
| Parameters | |
|---|---|
| query | A query. |
'use strict';
const query = cts.andQuery(
[
cts.wordQuery("to be or"),
cts.wordQuery("or not to be")
],
"ordered"
);
cts.andQueryOptions(query);
=> "ordered"
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.