
cts.elementQueryQuery( query as cts.elementQuery ) as cts.query
Returns the query used to construct the element query.
| Parameters | |
|---|---|
| query | A query. |
const query = cts.elementQuery(xs.QName('help'),
cts.wordQuery('wanted'));
cts.elementQueryQuery(query);
// Returns a cts.wordQuery
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.