Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
02-05-2020 07:42 AM
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!
02-06-2020 11:26 AM
Triggers cannot contribute to the output - their return is ignored. You might use the apoc logging procedures to write to the log file.
All the sessions of the conference are now available online