Loading TOC...

xdmp.databaseForests

xdmp.databaseForests(
   $database-id as String,
   [$include-replicas as Boolean]
) as Sequence

Summary

Returns a sequence of forest IDs in the specified database.

Parameters
$database-id A database ID.
$include-replicas True if replica forest ids should also be included.

Example

xdmp.databaseForests(xdmp.database("Documents"));
=> a Sequence with the forest IDs for the database, for example:
   8456374036761185098
   10615125154705099114

Comments

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