@@ -15,13 +15,16 @@ of database files.
15
15
Features
16
16
--------
17
17
18
- - Implements fully-encrypted SQLite databases stored on disk or in memory.
18
+ - Implements [ fully-encrypted] ( https://www.zetetic.net/sqlcipher/design/ )
19
+ SQLite databases stored on disk or in memory.
20
+
21
+ - Supports booleans, doubles, integers, strings, blobs, and timestamps.
19
22
20
23
- Provides a high-fidelity subset of the
21
24
[ ` android.database.sqlite ` ] ( https://developer.android.com/reference/android/database/sqlite/package-summary )
22
25
API to aid Android developers migrating to Flutter.
23
26
24
- - Supports booleans, doubles, integers, strings, blobs, and timestamps .
27
+ - Facilitates porting existing Android database code to Flutter .
25
28
26
29
Compatibility
27
30
-------------
@@ -48,6 +51,14 @@ var cursor = await db.rawQuery("SELECT 1 AS a, 2 as b, 3 AS c");
48
51
await DatabaseUtils.dumpCursor(cursor);
49
52
```
50
53
54
+ ### Iterating the rows in a returned cursor
55
+
56
+ ``` dart
57
+ for (var row in await db.rawQuery("SELECT 1 AS a, 2 as b, 3 AS c")) {
58
+ print(row); // prints: {a: 1, b: 2, c: 3}
59
+ }
60
+ ```
61
+
51
62
### Using a bundled database from the app's assets
52
63
53
64
TODO
0 commit comments