File tree 2 files changed +3
-2
lines changed
packages/drift_sqlite_async
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ Supported functionality:
8
8
2 . Transactions and nested transactions.
9
9
3 . Table updates are propagated between sqlite_async and Drift - watching queries works using either API.
10
10
4 . Select queries can run concurrently with writes and other select statements.
11
+ 5 . Drift migrations are supported (optional).
11
12
12
13
## Usage
13
14
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ void main() {
54
54
// Drift may or may not emit duplicate update notifications.
55
55
// We use distinct() to ignore those.
56
56
.distinct ()
57
- .skipWhile ((e) => e.isEmpty )
57
+ .skipWhile ((e) => e == '[]' )
58
58
.take (3 )
59
59
.toList ();
60
60
@@ -83,7 +83,7 @@ void main() {
83
83
var resultsPromise = stream
84
84
.map ((rows) => rows.toString ())
85
85
.distinct ()
86
- .skipWhile ((e) => e.isEmpty )
86
+ .skipWhile ((e) => e == '[]' )
87
87
.take (3 )
88
88
.toList ();
89
89
You can’t perform that action at this time.
0 commit comments