square/sqlbrite

Request replace operator

anduvlad92 opened this issue · 1 comments

Hello,
Is there any reason why replace operator is missing? It would be useful.
Right now I use the getWritableDatabase() on BriteDatabase object to use the replace method, but I lose the notification feature on table change. Is there a way to force table to reload queries?
Thanks,
Andrei

That is a convenience method for insertWithOnConflict with a conflict strategy of CONFLICT_REPLACE which you can use in this library via the three-argument insert method.