Loading TOC...

xdmp.nodeDatabase

xdmp.nodeDatabase(
   $node as Node
) as String?

Summary

Returns the database id where the parameter is stored. If the specified node does not come from a document in a database, then xdmp:node-database returns an empty list.

Parameters
$node The node whose database is returned.

Example

xdmp.nodeDatabase(cts.doc("/dog.json"));
=> 18384173956586417397

Comments

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