sqlite-android icon indicating copy to clipboard operation
sqlite-android copied to clipboard

Upsert support

Open gabrielittner opened this issue 8 years ago • 1 comments

It would great if you could add methods for upsert that was added in 3.24.0 https://sqlite.org/lang_UPSERT.html

gabrielittner avatar Jun 12 '18 15:06 gabrielittner

Yes have been looking into this, it's a bit tricky because it's a separate clause that does the update (ON CONFLICT(x) DO UPDATE) which can have a different set of values then the insert.

npurushe avatar Jun 12 '18 16:06 npurushe