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

// Returns a cts.wordQuery

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