官方文档:apoc.periodic.iterate
runs the second statement for each item returned by the first statement. This procedure returns the number of batches and the total number of processed rows.
CALL apoc.periodic.iterate(
"MATCH (p:Person) WHERE (p)-[:ACTED_IN]->() RETURN p",
"SET p:Actor",
{
batchSize: