This content has been marked as final. Show 3 replies
It's not clear to me what question is, as you talked about overwriting existing records and transactions... and I don't see the connection. Do you want to do 'putOverwrite' using a single database operation? Or do you ask about enclosing the two operations (locating the key and inserting if it's there) in the same transaction?
I think he's asking how to do an update or "putNoInsert", and the answer if that you have to use a cursor:
1. Cursor.getSearchKey -- if NOTFOUND, stop.
Yes,that's what I want.