Loading TOC...

xdmp.database

xdmp.database(
   [$name as String]
) as String

Summary

Returns the ID of the database named in the parameter. Returns the ID of the current database if no parameter is specified. Throws XDMP-NOSUCHDB if no database exists for the specified name.

Parameters
$name The name of the database. The default value is the name of the current database.

Example

xdmp.database("myDB");
=> 74495681647284736476

Comments

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