MarkLogic Server 11.0 Product Documentation
cts.registercts.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: Get the most useful answers to questions from the MarkLogic community, or ask your own question.