I am importing via Load CSV where one column of data is a LABEL I want to set for each person. (e.g. the column represents role :MANAGER, :ENGINEER, etc).
I have tried numerous variants, none works. Here is the latest: LOAD CSV WITH HEADERS FROM "file:///csv/user-data.csv" AS row WITH row, row.Role as roleLabel CREATE (n:Person:roleLabel) RETURN n LABEL was set to roleLabel - not the value of roleLabel LOAD CSV WITH HEADERS FROM "file:///csv/user-data.csv" AS row WITH row, row.Role as roleLabel CREATE (n:Person:toString(row.Role)) RETURN n Didn't run....doesn't like toString() Can I use a field value as a LABEL? Thanks -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
