cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How to add too high number of columns from csv to neo4j

Heyy , i want to import data from csv to neo4j with around 200 columns. Is there any easy way i can import it without writing every headername in "load csv" command? please suggest

Thank You.

1 REPLY 1

LOAD CSV WITH HEADERS FROM <url> AS row
CREATE (p:Person)
SET p=row

will set all csv columns as properties.

Be warned: having 200 properties on a node for sure indicates a small on your data model. Take a read on the existing material and best practices on graph data modelling.

Nodes 2022
Nodes
NODES 2022, Neo4j Online Education Summit

All the sessions of the conference are now available online