Loading TOC...

xdmp.documentForest

xdmp.documentForest(
   $uri as String,
   [$forest-ids as String[]]
) as String?

Summary

Returns the forest ID of the forest in which a document (or a lock or a property) with the specified URI is stored. Otherwise, returns the empty sequence.

Parameters
$uri The URI of the document, lock, or property.
$forest-ids Restricts the ID(s) of the forest(s) in which this function may return.

Example

xdmp.documentForest("example.xml");
=> 12972338785465832200

Comments

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