Neo4j Version : 3.5.3
Neo4j Procedure version : 3.5.0.13
stackoverflow.com
apoc.periodic.iterate fails the batch if there is an duplicate data in parameter
neo4j, cypher, neo4j-apoc
answered by
cy...
my data will be like this
owner can have multiple properties
We are storing the properties owned by him by connecting the PROPERTY node to MAN node
Since the data set is very huge it can have duplicate properties for other owners too
call apoc.periodic.iterate(‘ UNWIND {propertyList} as property RETURN property.owner as owner ,property.properties as properties ","MERGE (own:MAN {id:owner.key}) SET own += owner FOREACH (property in properties | MERGE (prop:PROPERTY {id:property.ke...