Reputation: 8588
I'm adding rows using database.insertOrThrow()
, how do I use the returned value, which is documented to be the row id, to retrieve that same row later?
If there is no way to do that, will insertOrThrow
return an AutoIncrement
key field value if I define one? If not, what is the simplest way to insert data to sqlite database and get an handle to it for later use?
Upvotes: 0
Views: 94