We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4bcaa9 commit 58af17eCopy full SHA for 58af17e
1 file changed
packages/sqlite_async/lib/src/utils/shared_utils.dart
@@ -8,7 +8,7 @@ import '../sqlite_connection.dart';
8
Future<T> internalReadTransaction<T>(SqliteReadContext ctx,
9
Future<T> Function(SqliteReadContext tx) callback) async {
10
try {
11
- await ctx.getAll('BEGIN');
+ await ctx.getAll('BEGIN IMMEDIATE');
12
final result = await callback(ctx);
13
await ctx.getAll('END TRANSACTION');
14
return result;
0 commit comments