
xdmp:forest-host( $id as xs:unsignedLong ) as xs:unsignedLong
Return the host of the forest with the given id.
| Parameters | |
|---|---|
| id | A forest ID. |
xdmp:forest-host(xdmp:forest("Documents"))
=> 628308917998312873
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.