apoc.trigger
Qualified Name | Type |
---|---|
add a trigger kernelTransaction under a name, in the kernelTransaction you can use {createdNodes}, {deletedNodes} etc., the selector is {phase:'before/after/rollback'} returns previous and new trigger information. Takes in an optional configuration. |
Procedure |
list all installed triggers |
Procedure |
CALL apoc.trigger.pause(name) | it pauses the trigger |
Procedure |
remove previously added trigger, returns trigger information |
Procedure |
removes all previously added trigger, returns trigger information |
Procedure |
CALL apoc.trigger.resume(name) | it resumes the paused trigger |
Procedure |
function to filter labelEntries by label, to be used within a trigger kernelTransaction with {assignedLabels}, {removedLabels}, {assigned/removedNodeProperties} |
Function |
function to filter propertyEntries by property-key, to be used within a trigger kernelTransaction with {assignedNode/RelationshipProperties} and {removedNode/RelationshipProperties}. Returns [{old,new,key,node,relationship}] |
Function |