Loading TOC...

MarkLogic 10 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 :)

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.