Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-09-2022 02:46 AM
Hello,
I have the following connected nodes:
I want to try to delete the node I've marked (in the picture) but it doesn't have a name (you can see the properties down the photo) it has only id and delay, which query can help me delete this specific node and his relations?
(the query I've put above is just an example of the one I took from the neo4j site but wasn't sure how to change it to what I wanted)
Thank u and have a lovely day!
Solved! Go to Solution.
05-09-2022 03:17 AM
Hello @verachkaverachka
You can use id() function:
MATCH (n)
WHERE id(n) = 22
DETACH DELETE n
Regards,
Cobra
05-09-2022 03:17 AM
Hello @verachkaverachka
You can use id() function:
MATCH (n)
WHERE id(n) = 22
DETACH DELETE n
Regards,
Cobra
05-09-2022 03:18 AM
Great! thank u so much!!
All the sessions of the conference are now available online