I am using neo4j for one of my project, there's a node which only has a single property as name
, I want to get that node using ID, it already has a ID but when I use this code
MATCH (s:SKILLS{ID:65110}) return s
It returns nothing, heres my node
If the query is wrong then how do I query it using the number
MATCH (s) WHERE ID(s) = 65110 RETURN s
The ID
function gets you the id of a node or relationship. This is different from any property called id
or ID
that you create.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With