o Andreas Granig on 12/23/2011 01:39 PM:
I don't know the details of the srdb layer, but
probably it's possible
to find a way to return the "rows affected" after an update in order to
know whether to try an insert afterwards. Would be possible with mysql,
shouldn't the db layer and driver be smart enough to do insert ... on
duplicate key update at least where it's supported?
stefan