File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ class PostgreSQLConnection extends Object
215
215
/// default query timeout will be used.
216
216
Future transaction (
217
217
Future Function (PostgreSQLExecutionContext connection) queryBlock, {
218
- int commitTimeoutInSeconds = 30 ,
218
+ int ? commitTimeoutInSeconds,
219
219
}) async {
220
220
if (isClosed) {
221
221
throw PostgreSQLException (
@@ -418,7 +418,7 @@ abstract class _PostgreSQLExecutionContextMixin
418
418
@override
419
419
Future <PostgreSQLResult ?> query (
420
420
String fmtString, {
421
- Map <String , dynamic > substitutionValues = const {} ,
421
+ Map <String , dynamic >? substitutionValues,
422
422
bool allowReuse = true ,
423
423
int timeoutInSeconds = 30 ,
424
424
}) =>
@@ -431,7 +431,7 @@ abstract class _PostgreSQLExecutionContextMixin
431
431
432
432
Future <PostgreSQLResult ?> _query (
433
433
String fmtString, {
434
- Map <String , dynamic > substitutionValues = const {} ,
434
+ Map <String , dynamic >? substitutionValues,
435
435
required bool allowReuse,
436
436
int ? timeoutInSeconds,
437
437
bool resolveOids = true ,
You can’t perform that action at this time.
0 commit comments