apoc.lock.all

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

Details

Syntax

apoc.lock.all(nodes, rels)

Description

Acquires a write lock on the given NODE and RELATIONSHIP values.

Input arguments

Name

Type

Description

nodes

LIST<NODE>

The list of nodes to acquire a write lock on.

rels

LIST<RELATIONSHIP>

The list of relationships to acquire a write lock on.