accessing a record just added using .add()

25 views
Skip to first unread message

bamerza

unread,
Aug 26, 2013, 3:26:10 PM8/26/13
to persis...@googlegroups.com
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 ?
Reply all
Reply to author
Forward
0 new messages