Skip to content

Instantly share code, notes, and snippets.

@fxp
Created February 7, 2017 05:10
Show Gist options
  • Save fxp/0dc03fac5e544aebaea9417556e5661e to your computer and use it in GitHub Desktop.
Save fxp/0dc03fac5e544aebaea9417556e5661e to your computer and use it in GitHub Desktop.
Import CSV into neo4j
# REF http://stackoverflow.com/questions/27898805/how-to-load-all-the-columns-from-a-csv-into-neo4j-nodes
LOAD CSV WITH HEADERS FROM "file:///data.csv" AS line FIELDTERMINATOR ',' CREATE (n:MyLabel) SET n += line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment