Loading TOC...

cts.query

cts.query(
   $query as Node
) as cts.query

Summary

Creates a query.

Parameters
$query A query.

Example

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)

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy