File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/drift_sqlite_async/lib/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -15,15 +15,15 @@ import 'package:sqlite_async/sqlite_async.dart';
1515class SqliteAsyncDriftConnection extends DatabaseConnection {
1616 late StreamSubscription _updateSubscription;
1717
18+ /// [transformTableUpdates] is useful to map local table names from PowerSync that are backed by a view name
19+ /// which is the entity that the user interacts with.
1820 SqliteAsyncDriftConnection (
1921 SqliteConnection db, {
2022 bool logStatements = false ,
2123 Set <TableUpdate > Function (UpdateNotification )? transformTableUpdates,
2224 }) : super (SqliteAsyncQueryExecutor (db, logStatements: logStatements)) {
2325 _updateSubscription = (db as SqliteQueries ).updates! .listen ((event) {
2426 final Set <TableUpdate > setUpdates;
25- // This is useful to map local table names from PowerSync that are backed by a view name
26- // which is the entity that the user interacts with.
2727 if (transformTableUpdates != null ) {
2828 setUpdates = transformTableUpdates (event);
2929 } else {
You can’t perform that action at this time.
0 commit comments