cts.register( query as cts.query ) as (Number|String)
Register a query for later use.
Parameters | |
---|---|
query | A query to register. |
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.