anchor.diff:  .Helper Functions
   [cols="1m,5"]
   |===
  -| apoc.trigger.nodesByLabel({assignedLabels/assignedNodeProperties},'Label') | function to filter labelEntries by label, to be used within a trigger statement with {assignedLabels} and {removedLabels} {phase:'before/after/rollback'} returns previous and new trigger information
  -| apoc.trigger.propertiesByKey({assignedNodeProperties},'key') | function to filter propertyEntries by property-key, to be used within a trigger statement with {assignedNode/RelationshipProperties} and {removedNode/RelationshipProperties}. Returns [{old,[new],key,node,relationship}]
  +| apoc.trigger.nodesByLabel($assignedLabels/assignedNodeProperties,'Label') | function to filter labelEntries by label, to be used within a trigger statement with $assignedLabels and $removedLabels {phase:'before/after/rollback'} returns previous and new trigger information
  +| apoc.trigger.propertiesByKey($assignedNodeProperties,'key') | function to filter propertyEntries by property-key, to be used within a trigger statement with $assignedNode/RelationshipProperties and $removedNode/RelationshipProperties. Returns [{old,[new],key,node,relationship}]
   |===
   
   
  
positive.code: 
  [source,cypher]
  ----
  CALL apoc.trigger.add('setAllConnectedNodes','UNWIND apoc.trigger.propertiesByKey({assignedNodeProperties},"surname") as prop
  WITH prop.node as n
  MATCH(n)-[]-(a)
  SET a.surname = n.surname', {phase:'after'});
  
negative.code: 
  [cols="1m,5"]
  |===
  | CALL apoc.trigger.add(name, statement, selector) yield name, statement, installed | add a trigger statement under a name, in the statement you can use $createdNodes, $deletedNodes etc., the selector is {phase:'before/after/rollback'} returns previous and new trigger information
  | CALL apoc.trigger.remove(name) yield name, statement, installed | remove previously added trigger, returns trigger information
  | CALL apoc.trigger.removeAll() yield name, statement, installed | removes all previously added triggers , returns trigger information
  | CALL apoc.trigger.list() yield name, statement, installed | update and list all installed triggers
  