xdmp:host( [$name as xs:string] ) as xs:unsignedLong
Returns the ID of the host named in the parameter. Returns the ID of the current host if no parameter is specified.
Parameters | |
---|---|
name | The name of the host. The default value is the name of the current host. |
xdmp:host("foo.example.com") => 15495681647217162987
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.