Android-Orma
Android-Orma copied to clipboard
Reset where clause in updater
Is there a way to reset whereClause in <Model>_Updater? I.g. I want reuse updater with different model instances, but where() method alway concatenate to one big WHERE clause
Why and how do you want to reuse *_Updater? Do you have an example code that shows the reuse is useful?
We have a different lists of entities, mixed with cached ones and fresh ones, and on some of them we want to execute insert, or on some of them update, and we don't want to create updater for each item.