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.

Add new property to existing node from CSV

Hi, 

I have nodes on my neo4j, now I am trying to add a property to the existing nodes from a CSV file. I used the query

load csv with headers from "file:///testfile.csv" as line
FOREACH(ignoreMe IN CASE WHEN line.alpha is not null THEN [1] ELSE [] END|
merge (Alphas{Name : line.alpha})
on match set n.Id = line.Id
)

But this is giving me an error 

Don't know how to treat that as a boolean: String("asd123")

 I got the above query from here . Thanks in advance.

1 ACCEPTED SOLUTION

Found the mistake in my code, unable to delete the thread, hence marking as complete.

View solution in original post

1 REPLY 1

Found the mistake in my code, unable to delete the thread, hence marking as complete.