mirror of https://github.com/AMT-Cheif/drift.git
Suport iterable in markTablesUpdated
This commit is contained in:
parent
a6917b32ad
commit
9266fdffe2
|
@ -97,7 +97,7 @@ abstract class DatabaseConnectionUser {
|
||||||
/// Of course, you can also call it yourself to manually dispatch table
|
/// Of course, you can also call it yourself to manually dispatch table
|
||||||
/// updates. To obtain a [TableInfo], use the corresponding getter on the
|
/// updates. To obtain a [TableInfo], use the corresponding getter on the
|
||||||
/// database class.
|
/// database class.
|
||||||
void markTablesUpdated(Set<TableInfo> tables) {
|
void markTablesUpdated(Iterable<TableInfo> tables) {
|
||||||
notifyUpdates(
|
notifyUpdates(
|
||||||
{for (final table in tables) TableUpdate(table.actualTableName)},
|
{for (final table in tables) TableUpdate(table.actualTableName)},
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue