Skip to content

Commit a2b6c4c

Browse files
committed
typo
1 parent 4b56076 commit a2b6c4c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/drift_sqlite_async/lib/src/connection.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ class SqliteAsyncDriftConnection extends DatabaseConnection {
1818
SqliteAsyncDriftConnection(
1919
SqliteConnection db, {
2020
bool logStatements = false,
21-
Set<TableUpdate> Function(UpdateNotification)? transformTableUpdate,
21+
Set<TableUpdate> Function(UpdateNotification)? transformTableUpdates,
2222
}) : super(SqliteAsyncQueryExecutor(db, logStatements: logStatements)) {
2323
_updateSubscription = (db as SqliteQueries).updates!.listen((event) {
2424
final Set<TableUpdate> setUpdates;
2525
// This is useful to map local table names from PowerSync that are backed by a view name
2626
// which is the entity that the user interacts with.
27-
if (transformTableUpdate != null) {
28-
setUpdates = transformTableUpdate(event);
27+
if (transformTableUpdates != null) {
28+
setUpdates = transformTableUpdates(event);
2929
} else {
3030
setUpdates = <TableUpdate>{};
3131
for (var tableName in event.tables) {

0 commit comments

Comments
 (0)