MarkLogic 12 EA 1 Product Documentation
xdmp:host-groupxdmp:host-group(
[$ID as xs:unsignedLong]
) as xs:unsignedLong
Summary
Returns the ID of the group that the specified host belongs to.
Example
xdmp:host-group(15495681647217162987)
=> 9876543211234
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.