xdmp.databaseForests( $database-id as String, [$include-replicas as Boolean] ) as ValueIterator
Returns a sequence of forest IDs in the specified database.
|$database-id||A database ID.|
|$include-replicas||True if replica forest ids should also be included.|
xdmp.databaseForests(xdmp.database("Documents")); => a ValueIterator with the forest IDs for the database, for example: 8456374036761185098 10615125154705099114