Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
I'm looking to find a way to add a label to a new/existing Node based on the key and value from the previous hop.
Example:
Table Input outputs a field name "instance" with field value "value1". This gets sent to Neo4j Graph Output that will add the label "Public" to a Node already labeled with "IPAddress". If "instance" has any other value, then I do not want to add the label "Public" to the node.
Query:
LOAD CSV WITH HEADERS FROM 'file:///input.csv' AS row WHERE row.instance = "value1" MERGE (i:IPAddress {ip: row.ip}) SET i:Public RETURN i;
I'm pretty sure that should be a sample query that should accomplish what I'm trying to do.
Attachments
Attachments
Issue Links
- links to