Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
07-07-2021 11:30 AM
I have a simple LOAD CSV
with a single MERGE statement.
My question is:
How can I skip to load an entire row depending on the value of a single field?
somethink like
SKIP if row.active = 1
Thank you
Solved! Go to Solution.
07-07-2021 11:50 AM
Hello @p.dipietro
Something like this?
LOAD CSV WITH HEADERS FROM 'file:///your_file.csv' AS row
WITH row
WHERE row.active <> 1
MERGE (:Node {name: row.name})
Regards,
Cobra
07-07-2021 11:50 AM
Hello @p.dipietro
Something like this?
LOAD CSV WITH HEADERS FROM 'file:///your_file.csv' AS row
WITH row
WHERE row.active <> 1
MERGE (:Node {name: row.name})
Regards,
Cobra
All the sessions of the conference are now available online