Scalar functions
id()
Signature:
id(vertex: VERTEX) -> BIGINTReturns the id of vertex.
Example:
MATCH (a) RETURN id(a)label()
Signature:
label(input: VERTEX | EDGE) -> VARCHARReturns the label of vertex or edge.
Example:
MATCH (a) RETURN label(a)start_node_id()
Signature:
start_node_id(edge: EDGE) -> BIGINTReturns the id of the start node of edge.
Example:
MATCH (a)-[r]->(b) RETURN start_node_id(r)end_node_id()
Signature:
end_node_id(edge: EDGE) -> BIGINTReturns the id of the end node of edge.
Example:
MATCH (a)-[r]->(b) RETURN end_node_id(r)Last updated on