You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-15Lines changed: 12 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# sqlite_async
1
+
# sqlite_async
2
2
3
3
High-performance asynchronous interface for SQLite on Dart & Flutter.
4
4
@@ -15,13 +15,13 @@ query access.
15
15
16
16
## Features
17
17
18
-
* All operations are asynchronous by default - does not block the main isolate.
19
-
* Watch a query to automatically re-run on changes to the underlying data.
20
-
* Concurrent transactions supported by default - one write transaction and many multiple read transactions.
21
-
* Uses WAL mode for fast writes and running read transactions concurrently with a write transaction.
22
-
*Direct synchronous access in an isolate is supported for performance-sensitive use cases.
23
-
* Automatically convert query args to JSON where applicable, making JSON1 operations simple.
24
-
* Direct SQL queries - no wrapper classes or code generation required.
18
+
- All operations are asynchronous by default - does not block the main isolate.
19
+
- Watch a query to automatically re-run on changes to the underlying data.
20
+
- Concurrent transactions supported by default - one write transaction and many multiple read transactions.
21
+
- Uses WAL mode for fast writes and running read transactions concurrently with a write transaction.
22
+
-Direct synchronous access in an isolate is supported for performance-sensitive use cases.
23
+
- Automatically convert query args to JSON where applicable, making JSON1 operations simple.
24
+
- Direct SQL queries - no wrapper classes or code generation required.
25
25
26
26
See this [blog post](https://www.powersync.co/blog/sqlite-optimizations-for-ultra-high-performance),
27
27
explaining why these features are important for using SQLite.
@@ -78,18 +78,16 @@ void main() async {
78
78
79
79
# Web
80
80
81
-
Web support is provided by the [Drift](https://github.com/powersync-ja/drift/pull/1) library. Detailed instructions for compatibility and setup are listed in the link.
82
-
83
-
Web support requires Sqlite3 WASM and Drift worker Javascript files to be accessible via configurable URIs.
81
+
Web support requires Sqlite3 WASM and web worker Javascript files to be accessible via configurable URIs.
84
82
85
83
Default URIs are shown in the example below. URIs only need to be specified if they differ from default values.
86
84
87
-
Watched queries and table change notifications are only supported when using a custom Drift worker which is compiled by linking
88
-
https://github.com/powersync-ja/drift/pull/1.
85
+
The compiled web worker files can be found in our Github [releases](https://github.com/powersync-ja/sqlite_async.dart/releases)
86
+
The `sqlite3.wasm` asset can be found [here](https://github.com/simolus3/sqlite3.dart/releases)
0 commit comments