Calls func for each found object, which satisfies the criteria for both deleted_flag and where_clause
, letting the caller update values where necessary.
The return value of func is used to determine whether the call was successful, not whether there are any changes to be
saved. If anything fails during the call then the all changes are reverted.
When there are requested any changes by the func, this function also calls
copy_missing_to_column_values to ensure no descendant column data
is lost.
| this |
an Cache |
| deleted_flag |
one of CacheDeletedFlag enum |
| where_clause |
an optional SQLite WHERE clause part, or null |
| func |
an CacheUpdateFunc function to call for each object |
| cancellable |
optional Cancellable object, or null |
| user_data |
user data for the |
|
Whether succeeded. |