I have a requirement where I need to create multiple nodes and connect them
in a single(instead of running separate cypher quries) cypher query
request. This is to improve the write performance.
I am following below method:
create (c:Person{guid:1}) with c create (m1:Book{id:1}) with c,m1 create
(m2:Book{id:2}) with c,m1,m2 create (c)-[:READ]-> (m1) with c,m1,m2 create
(c)-[:READ]-> (m2) return c,m1,m2;
Is this the right approach?
I have asked a question on SO at
http://stackoverflow.com/questions/26595291/neo4j-write-performance-improvement
,
but haven't got an answer yet.
Thank you.
--
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.