Is it possible to run a batch delete with multiple expressions? #2874
Closed
hamishjohnson
started this conversation in
General
Replies: 1 comment
-
You can combine expressions with the appDatabase.batch((batch) {
batch.deleteWhere(appDatabase.tagRows, (row) => row.hasPendingWrites.equals(true) & row.id.equals(rowId));
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'd like to be able to combine expressions when deleting in batch.
I can't seem to find a way to do it.
I have a batch like so
But I'd like to be able to do something like this
OR
Beta Was this translation helpful? Give feedback.
All reactions