Loading TOC...

MarkLogic 12 EA 1 Product Documentation
xdmp.hostGroup

xdmp.hostGroup(
   [ID as (Number|String)]
) as (Number|String)

Summary

Returns the ID of the group that the specified host belongs to.

Parameters
ID A host ID.

Example

xdmp.hostGroup(15495681647217162987);
=> "9876543211234"

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