deleteWhere abstract method

Future<int> deleteWhere(
  1. SyncScope scope,
  2. QuerySpec spec
)

Delete items that match spec within the scope. Applies soft/hard delete semantics in the same way as deleteMany. Returns the number of affected rows if available, else -1.

Implementation

Future<int> deleteWhere(SyncScope scope, QuerySpec spec);