Loading TOC...

cts.andQueryQueries

cts.andQueryQueries(
   $query as cts.andQuery
) as Sequence

Summary

Returns a sequence of the queries that were used to construct the specified query.

Parameters
$query A query.

Example

  cts.andQueryQueries(query);
  => ... a Sequence of the queries used to
            construct this query

Example

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))

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy