Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
12-13-2020 09:45 PM
Good Morning,
I have a cdv file with a column id and I have nodes in a neo4j-DB with the property of this id. But the lists are not congruent, so how could I find
the question is not about accessing the external file, but about the formulating of the where clause in the MATCH-statement.
Thank you,
JJJ
12-14-2020 02:52 PM
Try this:
OPTIONAL MATCH (a:ABC) where a.id = toInteger(row.id)
WITH COALESCE(a) as a1
FOREACH(ignoreMe IN CASE WHEN a1 is null THEN [1] ELSE [] END|
MERGE (a:ABC {id: toInteger(row.id)})
)
All the sessions of the conference are now available online