InstanceTypes from the underlying database.
This method will delete rows identified by predicate/where. If no where or predicate is set, this method will throw an exception by default, assuming that you don't typically want to delete every row in a database table. To specify otherwise, set canModifyAllInstances to true.
This method will return the number of rows deleted. Example:
var q = new Query<User>() ..where.id = whereEqualTo(1); var deletedCount = await q.delete();