Loading TOC...

xdmp.host

xdmp.host(
   [$name as String]
) as String

Summary

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.

Example

xdmp.host("foo.example.com");
=> 15495681647217162987

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

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.