Loading TOC...

cts:register

cts:register(
   $query as cts:query
) as xs:unsignedLong

Summary

Register a query for later use.

Parameters
$query A query to register.

Example

  cts:register(cts:collection-query("mycollection"))

  => 12345678901234567

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