Loading TOC...

xdmp.collectionLocks

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

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

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.