apoc.trigger
Current procedures
Qualified Name | Type | Release |
---|---|---|
CALL apoc.trigger.install(databaseName, name, statement, selector, config) | eventually adds a trigger for a given database which is invoked when a successful transaction occurs. |
Procedure |
APOC Core |
CALL apoc.trigger.drop(databaseName, name) | eventually removes an existing trigger, returns the trigger’s information |
Procedure |
APOC Core |
CALL apoc.trigger.dropAll(databaseName) | eventually removes all previously added trigger, returns triggers' information |
Procedure |
APOC Core |
CALL apoc.trigger.start(databaseName, name) | eventually unpauses the paused trigger |
Procedure |
APOC Core |
CALL apoc.trigger.stop(databaseName, name) | eventually pauses the trigger |
Procedure |
APOC Core |
CALL apoc.trigger.show(databaseName) | it lists all eventually installed triggers for a database |
Procedure |
APOC Core |
CALL apoc.trigger.list() | it lists all currently installed triggers for the session database |
Procedure |
APOC Core |
Deprecated procedures
Qualified Name | Type | Release |
---|---|---|
add a trigger kernelTransaction under a name, in the kernelTransaction you can use {createdNodes}, {deletedNodes} etc., the selector is {phase:'before/after/rollback/afterAsync'} returns previous and new trigger information. Takes in an optional configuration. |
Procedure |
APOC Core |
remove previously added trigger, returns trigger information |
Procedure |
APOC Core |
removes all previously added trigger, returns trigger information |
Procedure |
APOC Core |
CALL apoc.trigger.pause(name) | it pauses the trigger |
Procedure |
APOC Core |
CALL apoc.trigger.resume(name) | it resumes the paused trigger |
Procedure |
APOC Core |
Full functions
apoc.trigger.nodesByLabel | Function | APOC Full |
---|---|---|
Function |
APOC Full |
|
Function |
APOC Full |
|
Function |
APOC Full |