I am add some property in apoc.trigger, but it didn't show in the cypher response.
It need query again to get the property, is there anyway to do that in the same cypher?
My test
:use system;
CALL apoc.trigger.install(
'neo4j',
'add node id',
'UNWIND $createdNodes as n
set n.myuuid = randomUUID()',
{}
);
MERGE(n:SomeNew {key:"name"})
RETURN n
The myuuid
not in the response.
It only show in 2nd time query.