kuzu
kuzu copied to clipboard
Feature request: a function to retrieve src and dst node ID from a relationship
Given an example:
MATCH (n0:Note {id: 11})-[r:Links]->(n:Note {id:12}) RETURN ID(n0), r, ID(n);
-------------------------------------------------------------------------------
| n0._ID | r | n._ID |
-------------------------------------------------------------------------------
| 1:435121 | (1:435121)-{_LABEL: Links, _ID: 2:841305}->(1:435122) | 1:435122 |
-------------------------------------------------------------------------------
the src and dst node ID of the relationship r is shown in the output but there is currently no function to retrieve the IDs so as they could be used in an expression.