I'm migrating data from RDBMS to Neo4j. I'm using 'neo4j-admin import' tool for bulk import by loading a csv dump. In order to accomodate live updates, I'm again getting the csv dump from RDBMS. Now, I'm using 'apoc.load.csv'.
I've my data in one file, say 'upd_product.csv' And I've the headers in 'product_h.csv'
Now I want to use apoc.load.csv
Call apoc.load.csv('/upd_product.csv') yield map, list
Match (p: Product {id: line[0]})
Set p = map
In order to have this map, I need to specify the headers, and there exists no documentation on how to do that.
Please help me in this context. Thanks in advance.