neo4jphp
neo4jphp copied to clipboard
How to get relationship id from node
Hi All,
Can anyone used any method to get relationship id from a node.
$node = $client->getNode(12); $relations = $node->getRelationships();
I need all relationship ids for node id 12.
Thanks much.
That should work. Is it not working? Are you getting an error?