anchor.diff:  ----
   CALL apoc.periodic.iterate(
   "MATCH (p:Person) WHERE (p)-[:ACTED_IN]->() RETURN p",
  -"SET p:Actor", {batchSize:10000, parallel:true})
  +"WITH {p} as p SET p:Actor", {batchSize:10000, parallel:true})
   ----
   
   Which would take 10k people from the stream and update them in a single transaction, executing the *second* statement for each person.
  
positive.code: 
  == Further Functions
  
  include::overview.adoc[tags=periodic]
negative.code: ----
  CALL apoc.periodic.iterate(
  "MATCH (o:Order) WHERE o.date > '2016-10-13' RETURN o",
  "with {o} as o MATCH (o)-[:HAS_ITEM]->(i) WITH o, sum(i.value) as value SET o.value = value", {batchSize:100, parallel:true})
  ----
  
  The stream of other data can also come from another source, like a different database, CSV or JSON file.
  