Loading TOC...

cts.elementQueryQuery

cts.elementQueryQuery(
   $query as cts.elementQuery
) as cts.query

Summary

Returns the query used to construct the element query.

Parameters
$query A query.

Example

const query = cts.elementQuery(xs.QName("help"),
                 cts.wordQuery("wanted"));
cts.elementQueryQuery(query);

  => cts:word-query("wanted", (), 1)

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.