Hi,
Is it possible to make a trigger return a text message?
Something like this:
CALL apoc.trigger.add('deleteNodeMesage',"UNWIND {deletedNodes} as node
MATCH (n:Person)
RETURN 'Hello' ", {phase:'before'});
Any idea?
Thanks in advance!
Hi,
Is it possible to make a trigger return a text message?
Something like this:
CALL apoc.trigger.add('deleteNodeMesage',"UNWIND {deletedNodes} as node
MATCH (n:Person)
RETURN 'Hello' ", {phase:'before'});
Any idea?
Thanks in advance!
Triggers cannot contribute to the output - their return is ignored. You might use the apoc logging procedures to write to the log file.