Skip to content

Commit 6e51f5d

Browse files
committed
Support 3.8.0 of package:sqlite3.
1 parent 8d65840 commit 6e51f5d

File tree

2 files changed

+17
-13
lines changed

2 files changed

+17
-13
lines changed

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

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,14 @@ class ThrottledCommonDatabase extends CommonDatabase {
2828
DatabaseConfig get config => _db.config;
2929

3030
@override
31-
void createAggregateFunction<V>(
32-
{required String functionName,
33-
required AggregateFunction<V> function,
34-
AllowedArgumentCount argumentCount = const AllowedArgumentCount.any(),
35-
bool deterministic = false,
36-
bool directOnly = true}) {
31+
void createAggregateFunction<V>({
32+
required String functionName,
33+
required AggregateFunction<V> function,
34+
AllowedArgumentCount argumentCount = const AllowedArgumentCount.any(),
35+
bool deterministic = false,
36+
bool directOnly = true,
37+
bool subtype = false,
38+
}) {
3739
_db.createAggregateFunction(functionName: functionName, function: function);
3840
}
3941

@@ -44,12 +46,14 @@ class ThrottledCommonDatabase extends CommonDatabase {
4446
}
4547

4648
@override
47-
void createFunction(
48-
{required String functionName,
49-
required ScalarFunction function,
50-
AllowedArgumentCount argumentCount = const AllowedArgumentCount.any(),
51-
bool deterministic = false,
52-
bool directOnly = true}) {
49+
void createFunction({
50+
required String functionName,
51+
required ScalarFunction function,
52+
AllowedArgumentCount argumentCount = const AllowedArgumentCount.any(),
53+
bool deterministic = false,
54+
bool directOnly = true,
55+
bool subtype = false,
56+
}) {
5357
_db.createFunction(functionName: functionName, function: function);
5458
}
5559

packages/sqlite_async/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ topics:
1212
- flutter
1313

1414
dependencies:
15-
sqlite3: ^2.7.2
15+
sqlite3: ^2.8.0
1616
sqlite3_web: ^0.3.0
1717
async: ^2.10.0
1818
collection: ^1.17.0

0 commit comments

Comments
 (0)