getNodeAlias

Syntax

getNodeAlias()

Details

Return the alias of the local node, which is defined in the configuration file dolphindb.cfg.

Parameters

None

Returns

A STRING scalar.

Examples

getNodeAlias();
// output: controller2