Skip to content

Support 3.8.0 of package:sqlite3. #104

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,14 @@ class ThrottledCommonDatabase extends CommonDatabase {
DatabaseConfig get config => _db.config;

@override
void createAggregateFunction<V>(
{required String functionName,
required AggregateFunction<V> function,
AllowedArgumentCount argumentCount = const AllowedArgumentCount.any(),
bool deterministic = false,
bool directOnly = true}) {
void createAggregateFunction<V>({
required String functionName,
required AggregateFunction<V> function,
AllowedArgumentCount argumentCount = const AllowedArgumentCount.any(),
bool deterministic = false,
bool directOnly = true,
bool subtype = false,
}) {
_db.createAggregateFunction(functionName: functionName, function: function);
}

Expand All @@ -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);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/sqlite_async/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down