Suport iterable in markTablesUpdated

This commit is contained in:
Simon Binder 2021-09-29 20:32:01 +02:00
parent a6917b32ad
commit 9266fdffe2
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 1 additions and 1 deletions

View File

@ -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<TableInfo> tables) {
void markTablesUpdated(Iterable<TableInfo> tables) {
notifyUpdates(
{for (final table in tables) TableUpdate(table.actualTableName)},
);