xdmp:node-database( $node as node() ) as xs:unsignedLong?
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. |
xdmp:node-database(doc("http://marklogic.com/document")) => 18384173956586417397