OmarHamdy
(Omar Hamdy)
September 28, 2022, 1:21pm
1
I have larger amount of data in the following form :
The nodes tree of data in the form of class containing list of the other
for example :
Class site {
string name;
List equipment;
}
Class equipment{
string name;
List tags;
}
...etc
list of sites having list of equipment and every equipment has list of tags
lists containing lists , how can i add this large amount of data in this form ?
You mean with Cypher or Neo4jClient ? The latter has afaik batching operations built in.
With Cypher you can pass your data e.g. as list of dictionaries and then use UNWIND
See
https://medium.com/neo4j/5-tips-tricks-for-fast-batched-updates-of-graph-structures-with-neo4j-and-cypher-73c7f693c8cc
OmarHamdy
(Omar Hamdy)
October 3, 2022, 5:28pm
3
Actually I am using Neo4j Driver , Can you give me a code example for C# "Site" object has list of "Equipment" objects because i am still a little confused about how to implement your solution