which is the correct APoc procedure to Trigger an ID and Increment it +1 every time I call a create?
Assuming User has an ID - my idea is to increment using ID and not UUID.
CALL apoc.trigger.add('create-event-gen-id',"UNWIND {createdNodes} AS e
MATCH (n:User)
set e.ID=e.ID + 1", {phase:'after'});
Do you think this one is correct?
thank you.