On Sep 13, 12:06 pm, Lukas Eder <[email protected]> wrote: > Maybe a separate storeAndRefresh() method might be better? Or manually > calling store() and then refresh() if needed.
I guess calling store() and refresh() manually opens the door to race conditions again, while a storeAndRefresh() implementation that uses 'RETURNING ...' can guarantee that the returned values are indeed the ones that were inserted. Again, i don't need this functionality at this moment, but i can imagine that this could be useful to someone at some point. > PS: On a side note, you could join the user group. Then I wouldn't > have to unblock your messages... ;-) Done! :)
