Is there a way to get access to the record I just added when using the .add function ?
e.g. :
var myAddedObject = persistence.add(myEntity);
I see that add() returns a the whole persistence object, but I'd like to to access just the record of what I just added. How can I do so ?