xdmp.lockRelease( uri as String ) as null
Unlock a document or directory. Releases the lock created with
xdmp.lockAcquire
.
Parameters | |
---|---|
uri | The URI of the document or directory to be unlocked. |
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.
declareUpdate(); xdmp.lockRelease("/example.json"); => ()
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.