Loading TOC...

xdmp:forest

xdmp:forest(
   $name as xs:string
) as xs:unsignedLong

Summary

Returns the ID of the forest specified as the parameter. Throws XDMP-NOSUCHFOREST if no forest exists for the specified name.

Parameters
name The name of the forest.

Example

xdmp:forest("myForest")
=> 15495681647217162987

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