@aeric : it's one of the possible ways, but as noted by
@LucaMs is not exactly an update.
AFAIK, it modifies autoincrement values, row id and something else (I mean, there are points to take in account). It could be ok in some circumstances and leading to unwanted results in others.
Obviously, even "changes" has its own quirks to consider. So we are expected to pick up the "right" option for the specific problem at hand.
A common, universal UPSERT would be a real gift, but having a few alternatives is acceptable too.
BTW, since sqlite it's at the core of Android for many functionalities, why they don't update it for all, version after version? We're obliged to update our apps even for marginally important "new ideas", while they seems so lazy when it comes to their own chores..
Well, ok. Their platform, their rules..