Loading TOC...

xdmp.defaultCollections

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

Summary

Returns the collections any new document would get if the current user were to insert a document without specifying the collections.

Parameters
$uri The document URI to get parent directory.

Example

xdmp.defaultCollections();
=> ("http://example.com/docs",
        "http://example.com/manuals")

Comments

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