cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! Site migration is underway. Phase 2: migrate recent content

Add new property to existing node from CSV

vence_andersen1
Graph Buddy

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

vence_andersen1
Graph Buddy

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

View solution in original post

1 REPLY 1

vence_andersen1
Graph Buddy

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