Loading TOC...

MarkLogic Server 11.0 Product Documentation
cts.andQueryOptions

cts.andQueryOptions(
   query as cts.andQuery
) as Sequence

Summary

Returns the options for the specified query.

Parameters
query A query.

Example

'use strict';

const query = cts.andQuery(
  [
    cts.wordQuery("to be or"),
    cts.wordQuery("or not to be")
  ],
  "ordered"
);
cts.andQueryOptions(query);
  => "ordered"

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