Loading TOC...

cts.register

cts.register(
   query as cts.query
) as (Number|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.