cts.deregister( id as (Number|String) ) as null
Deregister a registered query, explicitly releasing the associated resources.
Parameters | |
---|---|
id | A registered query identifier. |
const q = cts.jsonPropertyWordQuery("my-property", "hello"); const reg = cts.register(q); cts.deregister(reg); // this registers and then deregisters a query, returning empty
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.