apoc.merge.node
??? I cannot find this listed on APOC User Guide 3.3.0.4 which according to GitHub - neo4j-contrib/neo4j-apoc-procedures: Awesome Procedures On Cypher for Neo4j - codenamed "apoc" If you like it, please ★ above ⇧
All included procedures are listed in the overview in the documentation and detailed in subsequent sections.
Where can I find documentation for it.
Ahh, wait Feature request : apoc support for MERGE for nodes and rels · Issue #271 · neo4j-contrib/neo4j-apoc-procedures · GitHub here it is mentioned that Summer 2017 Release of the APOC Procedures Library contains references to
CALL apoc.merge.node(['Label'], {id:uniqueValue}, {prop:value,...}) YIELD node;
CALL apoc.merge.relationship(startNode, 'RELTYPE', {[id:uniqueValue]}, {prop:value}, endNode) YIELD rel;
I will play with it, since there is no documentation but I guess I can guess what it does. Maybe update the documentation would be a good service ;-)
Thanks for the pointer!!!