Node/Rel Functions
Node/Rel functions are used to get information about nodes and relationships.
Function | Description |
---|---|
ID | returns the internal ID of node/rel |
LABEL | returns the label name of node/rel |
OFFSET | returns the offset of the internal ID |
See below for more details on each of these functions.
ID
Returns the internal ID of node/rel.
Input type | Output type |
---|---|
NODE | ID (Internal database ID) |
REL | ID (Internal database ID) |
Output:
LABEL
Returns the label name of node/rel.
Input type | Output type |
---|---|
NODE | STRING |
REL | STRING |
Output:
OFFSET
Returns the offset of the internal ID.
Input type | Output type |
---|---|
ID | INT64 |
Output: