Locks

The Apoc library contains procedures that can be used to acquire locks on nodes and relationships.

Procedures to aquire locks on nodes and relationships

Qualified Name Type

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

Procedure

apoc.lock.nodes(nodes LIST<NODE>) - acquires a write lock on the given nodes

Procedure

apoc.lock.read.nodes(nodes LIST<NODE>) - acquires a read lock on the given NODE values.

Procedure

apoc.lock.read.rels(rels LIST<RELATIONSHIP>) - acquires a read lock on the given RELATIONSHIP values.

Procedure

apoc.lock.rels(rels LIST<RELATIONSHIP>) - acquires a write lock on the given RELATIONSHIP values.

Procedure