apoc.lock.all

Procedure

apoc.lock.all(nodes LIST<NODE>, rels LIST<RELATIONSHIP>) - acquires a write lock on the given NODE and RELATIONSHIP values.

This procedure is not considered safe to run from multiple threads. It is therefore not supported by the parallel runtime (introduced in Neo4j 5.13). For more information, see the Cypher Manual → Parallel runtime.

Signature

apoc.lock.all(nodes :: LIST<NODE>, rels :: LIST<RELATIONSHIP>)

Input parameters

Name Type Default

nodes

LIST<NODE>

null

rels

LIST<RELATIONSHIP>

null