File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed
packages/drift_sqlite_async Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 1+ ## 0.2.2
2+
3+ - Fix write detection when using UPDATE/INSERT/DELETE with RETURNING in raw queries.
4+
15## 0.2.1
26
37- Fix lints.
Original file line number Diff line number Diff line change @@ -8,7 +8,8 @@ import 'package:sqlite_async/sqlite_async.dart';
88// Ends with " RETURNING *", or starts with insert/update/delete.
99// Drift-generated queries will always have the RETURNING *.
1010// The INSERT/UPDATE/DELETE check is for custom queries, and is not exhaustive.
11- final _returningCheck = RegExp (r'( RETURNING \*;?$)|(^(INSERT|UPDATE|DELETE))' ,
11+ final _returningCheck = RegExp (
12+ r'( RETURNING \*;?\s*$)|(^\s*(INSERT|UPDATE|DELETE))' ,
1213 caseSensitive: false );
1314
1415class _SqliteAsyncDelegate extends _SqliteAsyncQueryDelegate
Original file line number Diff line number Diff line change 11name : drift_sqlite_async
2- version : 0.2.1
2+ version : 0.2.2
33homepage : https://github.com/powersync-ja/sqlite_async.dart
44repository : https://github.com/powersync-ja/sqlite_async.dart
55description : Use Drift with a sqlite_async database, allowing both to be used in the same application.
You can’t perform that action at this time.
0 commit comments