Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
09-13-2021 10:27 AM
I'm working on a Neo4J database for a complex project and today I noticed unrelated and unknown nodes, relationships and properties (highlighted with the IA prefix - node labels, all relationships and nodes in the image at the bottom). How could the appear? I haven't created them and I have no application that uses these nodes. The database is store locally.
I tried the command in the image right below and it removed nothing. Any suggestions for how I should do that? This didn't work so obviously it's not the right way to do it.
Code:
match (n) where id(n) in[57-126] detach delete n
Result:
09-13-2021 10:59 AM
09-13-2021 03:07 PM
not exactly clear to me how we got to
match (n) where id(n) in[57-126] detach delete n;
but the above evaluates to
match (n) where id(n) in[-69] detach delete n;
for it evaluates 57-126 and thus -69
. And as id(n)>=0 then a negative number is sure to return no nodes with this id value
All the sessions of the conference are now available online