diff --git a/packages/sqlite_async/lib/src/web/worker/throttled_common_database.dart b/packages/sqlite_async/lib/src/web/worker/throttled_common_database.dart index 5f33b6d..8a0e901 100644 --- a/packages/sqlite_async/lib/src/web/worker/throttled_common_database.dart +++ b/packages/sqlite_async/lib/src/web/worker/throttled_common_database.dart @@ -28,12 +28,14 @@ class ThrottledCommonDatabase extends CommonDatabase { DatabaseConfig get config => _db.config; @override - void createAggregateFunction( - {required String functionName, - required AggregateFunction function, - AllowedArgumentCount argumentCount = const AllowedArgumentCount.any(), - bool deterministic = false, - bool directOnly = true}) { + void createAggregateFunction({ + required String functionName, + required AggregateFunction function, + AllowedArgumentCount argumentCount = const AllowedArgumentCount.any(), + bool deterministic = false, + bool directOnly = true, + bool subtype = false, + }) { _db.createAggregateFunction(functionName: functionName, function: function); } @@ -44,12 +46,14 @@ class ThrottledCommonDatabase extends CommonDatabase { } @override - void createFunction( - {required String functionName, - required ScalarFunction function, - AllowedArgumentCount argumentCount = const AllowedArgumentCount.any(), - bool deterministic = false, - bool directOnly = true}) { + void createFunction({ + required String functionName, + required ScalarFunction function, + AllowedArgumentCount argumentCount = const AllowedArgumentCount.any(), + bool deterministic = false, + bool directOnly = true, + bool subtype = false, + }) { _db.createFunction(functionName: functionName, function: function); } diff --git a/packages/sqlite_async/pubspec.yaml b/packages/sqlite_async/pubspec.yaml index bb27d60..e610d7f 100644 --- a/packages/sqlite_async/pubspec.yaml +++ b/packages/sqlite_async/pubspec.yaml @@ -12,7 +12,7 @@ topics: - flutter dependencies: - sqlite3: ^2.7.2 + sqlite3: ^2.8.0 sqlite3_web: ^0.3.0 async: ^2.10.0 collection: ^1.17.0