From 9266fdffe20532e39a4a5fb1a6d566cb979778d0 Mon Sep 17 00:00:00 2001 From: Simon Binder Date: Wed, 29 Sep 2021 20:32:01 +0200 Subject: [PATCH] Suport iterable in markTablesUpdated --- moor/lib/src/runtime/api/connection_user.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moor/lib/src/runtime/api/connection_user.dart b/moor/lib/src/runtime/api/connection_user.dart index c8e7a710..b3f41fc3 100644 --- a/moor/lib/src/runtime/api/connection_user.dart +++ b/moor/lib/src/runtime/api/connection_user.dart @@ -97,7 +97,7 @@ abstract class DatabaseConnectionUser { /// Of course, you can also call it yourself to manually dispatch table /// updates. To obtain a [TableInfo], use the corresponding getter on the /// database class. - void markTablesUpdated(Set tables) { + void markTablesUpdated(Iterable tables) { notifyUpdates( {for (final table in tables) TableUpdate(table.actualTableName)}, );