Skip to content

Commit 72db712

Browse files
committed
forgot to save
1 parent 45b2873 commit 72db712

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/src/connection.dart

+3-3
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ class PostgreSQLConnection extends Object
215215
/// default query timeout will be used.
216216
Future transaction(
217217
Future Function(PostgreSQLExecutionContext connection) queryBlock, {
218-
int commitTimeoutInSeconds = 30,
218+
int? commitTimeoutInSeconds,
219219
}) async {
220220
if (isClosed) {
221221
throw PostgreSQLException(
@@ -418,7 +418,7 @@ abstract class _PostgreSQLExecutionContextMixin
418418
@override
419419
Future<PostgreSQLResult?> query(
420420
String fmtString, {
421-
Map<String, dynamic> substitutionValues = const {},
421+
Map<String, dynamic>? substitutionValues,
422422
bool allowReuse = true,
423423
int timeoutInSeconds = 30,
424424
}) =>
@@ -431,7 +431,7 @@ abstract class _PostgreSQLExecutionContextMixin
431431

432432
Future<PostgreSQLResult?> _query(
433433
String fmtString, {
434-
Map<String, dynamic> substitutionValues = const {},
434+
Map<String, dynamic>? substitutionValues,
435435
required bool allowReuse,
436436
int? timeoutInSeconds,
437437
bool resolveOids = true,

0 commit comments

Comments
 (0)