updateWhere abstract method

Future<int> updateWhere(
  1. SyncScope scope,
  2. QuerySpec spec,
  3. List<T> newValues
)

Update items that match spec within the scope. For stores that support soft delete, implementations SHOULD avoid updating tombstoned rows. Returns the number of affected rows if available, else -1.

Implementation

Future<int> updateWhere(SyncScope scope, QuerySpec spec, List<T> newValues);