File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
packages/drift_sqlite_async Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ Supported functionality:
882 . Transactions and nested transactions.
993 . Table updates are propagated between sqlite_async and Drift - watching queries works using either API.
10104 . Select queries can run concurrently with writes and other select statements.
11+ 5 . Drift migrations are supported (optional).
1112
1213## Usage
1314
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ void main() {
5454 // Drift may or may not emit duplicate update notifications.
5555 // We use distinct() to ignore those.
5656 .distinct ()
57- .skipWhile ((e) => e.isEmpty )
57+ .skipWhile ((e) => e == '[]' )
5858 .take (3 )
5959 .toList ();
6060
@@ -83,7 +83,7 @@ void main() {
8383 var resultsPromise = stream
8484 .map ((rows) => rows.toString ())
8585 .distinct ()
86- .skipWhile ((e) => e.isEmpty )
86+ .skipWhile ((e) => e == '[]' )
8787 .take (3 )
8888 .toList ();
8989
You can’t perform that action at this time.
0 commit comments