Loading TOC...

xdmp:forest-host

xdmp:forest-host(
   $id as xs:unsignedLong
) as xs:unsignedLong

Summary

Return the host of the forest with the given id.

Parameters
id A forest ID.

Example

xdmp:forest-host(xdmp:forest("Documents"))
=> 628308917998312873

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