neo4jphp icon indicating copy to clipboard operation
neo4jphp copied to clipboard

How to get relationship id from node

Open digambarpatil123 opened this issue 8 years ago • 1 comments

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.

digambarpatil123 avatar Mar 25 '16 08:03 digambarpatil123

That should work. Is it not working? Are you getting an error?

jadell avatar Mar 26 '16 04:03 jadell