MarkLogic Server 11.0 Product Documentation
xdmp:database-directory-creation

xdmp:database-directory-creation(
   $database-id as xs:unsignedLong
) as xs:string

Summary

This function returns the directory creation setting for the specified database.

Parameters
$database-id The ID of the database (for example, xdmp:database("myDatabase")).

Example

xquery version "1.0-ml";

xdmp:database-directory-creation(xdmp:database("Documents"))
(: returns the directory creation setting :)
Powered by MarkLogic Server | Terms of Use | Privacy Policy