cancel
Showing results for 
Search instead for 
Did you mean: 

Upload alphanumeric variable from csv to neo4j

Srihari
Node

Hi,

Can you please help me to upload an alphanumeric variable from csv file to neo4j. 

Example: Id: ABCD1234

I was tweaking various options using CREATE function but couldnt able to find solution.

Thanks.

1 REPLY 1

koji
Ninja
Ninja

Hi @Srihari 

For a csv with headers, the code would look like this.

LOAD CSV WITH HEADERS FROM 'file:///data-with-headers.csv' AS line
CREATE (:SomeNode {id: line.Id})