Loading TOC...

xdmp.collectionLocks

xdmp.collectionLocks(
   [$uri as String[]]
) as ValueIterator

Summary

Returns locks of documents in a collection.

Parameters
$uri The input URI.

Example

for (var d of xdmp.collectionLocks(
                     ["http://example.com/col1/",
                      "http://example.com/col2/"]) ) {
 if (d.value) {
 xdmp.nodeUri(d); }
};
  => http://example.com/bar.xml
     http://example.com/baz.xml

Comments

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