Calls func for each found object, which satisfies the criteria for both deleted_flag and where_clause
.
Note the func should not call any SQLite commands, because it's invoked within a SELECT statement execution.
| this |
an Cache |
| deleted_flag |
one of CacheDeletedFlag enum |
| where_clause |
an optional SQLite WHERE clause part, or null |
| func |
an CacheForeachFunc function to call for each object |
| cancellable |
optional Cancellable object, or null |
| user_data |
user data for the |
|
Whether succeeded. |