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
Driver for the library [SQLDelight](https://github.com/cashapp/sqldelight) that supports [sqlite3](https://www.npmjs.com/package/sqlite3) Node.js module
7
9
* example here: https://github.com/wojta/example-sqldelight-node-sqlite3-driver
Queries are written as here - https://cashapp.github.io/sqldelight/2.0.0/js_sqlite/
80
-
78
+
Queries are written as here - https://sqldelight.github.io/sqldelight/2.0.2/js_sqlite/#using-queries
81
79
82
80
```kotlin
83
81
suspendfunmain() {
@@ -99,15 +97,19 @@ suspend fun main() {
99
97
}
100
98
```
101
99
102
-
Note: Please use `executeSuspendingAsList()` in queries instead of `executeAsList()` as that API is not suspending and will throw an exception with this driver.
103
-
100
+
Note: Please use `executeSuspendingAsList()`or `executeAsFlow()`in queries instead of `executeAsList()`
101
+
as that API is not suspending and will throw an exception with this driver.
104
102
105
103
## Thanks
106
-
To _Isuru Rajapakse_ and the project [KStore](https://github.com/xxfast/KStore) which is an inspiration for the set-up of publishing in Gradle scripts.
107
104
108
-
To authors of SQLDelight, implementation is based on the [sqljs](https://github.com/sql-js/sql.js/) implementation of the driver which is already included in the library.s.
105
+
To _Isuru Rajapakse_ and the project [KStore](https://github.com/xxfast/KStore) which is an inspiration for the set-up
106
+
of publishing in Gradle scripts.
107
+
108
+
To authors of SQLDelight, implementation is based on the [sqljs](https://github.com/sql-js/sql.js/) implementation of
109
+
the driver which is already included in the library.s.
109
110
110
111
## License
112
+
111
113
Licensed under the Apache License, Version 2.0 (the "License");
112
114
you may not use this file except in compliance with the License.
0 commit comments