Loading TOC...

cts.deregister

cts.deregister(
   $id as String
) as null

Summary

Deregister a registered query, explicitly releasing the associated resources.

Parameters
$id A registered query identifier.

Example

var q = cts.jsonPropertyWordQuery("my-property", "hello");
var reg = cts.register(q);
cts.deregister(reg);

// this registers and then deregisters a query, returning empty

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy