MarkLogic Server 11.0 Product Documentation
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
Powered by MarkLogic Server | Terms of Use | Privacy Policy