Hello
I am new on neo4j
I want to create a trigger on "name" property of node will update
This is my trigger
use system CALL apoc.trigger.install(
'neo4j',
'triggerTest',
'UNWIND apoc.trigger.propertiesByKey($assignedNodeProperties,"name") as properties
WITH properties.node as n
CREATE (node:Node)
',{phase:'after'});
When i update name value of node then following error is showing
Error executing triggers {lockTriggerTest1=Unknown function 'apoc.trigger.propertiesByKey' (line 1, column 8 (offset: 7))
"UNWIND apoc.trigger.propertiesByKey($assignedNodeProperties,"name") as properties"
^}
Neo4j Version 5.12
APOC Version : 5.12
I also enable apoc.conf.trigger=true to config file
Is there any syntax error ? please help