Loading TOC...

xdmp.lockRelease

xdmp.lockRelease(
   $uri as String
) as null

Summary

Unlock a document or directory. Releases the lock created with xdmp:lock-acquire.

Parameters
$uri The URI of the document or directory to be unlocked.

Usage Notes

Note that the lock described here area is a relatively heavy persistent document lock for file system emulation through WebDAV, not a relatively light transaction lock for database consistency.

Example

declareUpdate();
xdmp.lockRelease("/example.json");
=> ()

Comments

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