Skip to content

Commit a76c214

Browse files
committed
Add missing members to throttled database
1 parent 4e183f3 commit a76c214

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

packages/sqlite_async/lib/src/web/worker/throttled_common_database.dart

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,17 @@ class ThrottledCommonDatabase extends CommonDatabase {
103103
Stream<SqliteUpdate> get updates {
104104
return throttledUpdates(_db, _transactionController.stream);
105105
}
106+
107+
@override
108+
VoidPredicate? get commitFilter => _db.commitFilter;
109+
110+
set commitFilter(VoidPredicate? filter) => _db.commitFilter = filter;
111+
112+
@override
113+
Stream<void> get commits => _db.commits;
114+
115+
@override
116+
Stream<void> get rollbacks => _db.rollbacks;
106117
}
107118

108119
/// This throttles the database update stream to:

packages/sqlite_async/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ topics:
1212
- flutter
1313

1414
dependencies:
15-
sqlite3: "^2.4.7"
16-
sqlite3_web: ^0.2.0
15+
sqlite3: ^2.7.0
16+
sqlite3_web: ^0.2.2
1717
async: ^2.10.0
1818
collection: ^1.17.0
1919
mutex: ^3.1.0

0 commit comments

Comments
 (0)