apoc.periodic.commit

Procedure APOC Core

apoc.periodic.commit(statement,params) - runs the given statement in separate transactions until it returns 0

Signature

apoc.periodic.commit(statement :: STRING?, params = {} :: MAP?) :: (updates :: INTEGER?, executions :: INTEGER?, runtime :: INTEGER?, batches :: INTEGER?, failedBatches :: INTEGER?, batchErrors :: MAP?, failedCommits :: INTEGER?, commitErrors :: MAP?, wasTerminated :: BOOLEAN?)

Input parameters

Name Type Default

statement

STRING?

null

params

MAP?

{}

Output parameters

Name Type

updates

INTEGER?

executions

INTEGER?

runtime

INTEGER?

batches

INTEGER?

failedBatches

INTEGER?

batchErrors

MAP?

failedCommits

INTEGER?

commitErrors

MAP?

wasTerminated

BOOLEAN?