Loading TOC...

cts.register

cts.register(
   $query as cts.query
) as String

Summary

Register a query for later use.

Parameters
$query A query to register.

Example

cts.register(cts.collectionQuery("mycollection"));

// returns the ID of the registered query

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.