cts.query( query as Node ) as cts.query
Creates a query.
Parameters | |
---|---|
query | A query. |
cts.query(fn.head(xdmp.unquote( '<cts:word-query xmlns:cts="http://marklogic.com/cts">' +' <cts:text>word</cts:text>' +'</cts:word-query>')).root) => cts.wordQuery("word", ["lang=en"], 1)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.