MarkLogic Server 11.0 Product Documentation
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
Powered by MarkLogic Server | Terms of Use | Privacy Policy