cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

APOC TRIGGER - maybe a bug?

This was the Query I was looking for : And works good ,

"UNWIND $createdNodes AS e
MATCH(n:User) 
with e, MAX(n.ID) as maxId 
Set e.ID = maxId + 1"

But the fact that I have to make a MATCH again in order to retrieve the USER with the new ID incremented I think there is something missing in APOC , I should get back the User with the new Triggered ID...
Otherwise is not really usefull.
What do you think about this situation?

Thank you as always for your time.

Andrea.

0 REPLIES 0