
xdmp:database-directory-creation( $database-id as xs:unsignedLong ) as xs:string
This function returns the directory creation setting for the specified database.
| Parameters | |
|---|---|
| $database-id |
The ID of the database (for example,
xdmp:database("myDatabase")).
|
xquery version "1.0-ml";
xdmp:database-directory-creation(xdmp:database("Documents"))
(: returns the directory creation setting :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.