mass deletion of items
This commit is contained in:
@@ -144,6 +144,10 @@ class DbHelper {
|
||||
await _client.from(itemsTableName).delete().eq('id', id);
|
||||
}
|
||||
|
||||
static Future<void> deleteItemsById(List<int> ids) async {
|
||||
await _client.from(itemsTableName).delete().in_('id', ids);
|
||||
}
|
||||
|
||||
static Stream<AuthState> get authChangeEventStream =>
|
||||
_client.auth.onAuthStateChange;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user