Hi there! Are there any plans to provide a bundled...
# squarelibraries
s
Hi there! Are there any plans to provide a bundled SQLite driver for SQLDelight? Similar to the bundled driver for Room KMP.
j
We share the same SQLite abstraction as Room, androidx.sqlite, so that bundled version already works with SQLDelight
s
Aha, that's nice. But I didn't find much info about how to set it up in the documentation 🤔
Should I just include it in the dependencies, or something else is needed? Sorry but I'm a bit confused 😅
e
This will eventually land (hopefully) https://github.com/sqldelight/sqldelight/pull/5283
🙌 1
j
The AndroidSqlDriver accepts a SQLiteOpenHelper or whatever the type is that you'll get from the bundled Sqlite
e
It's been a while since I looked at it, but I believe the reason for needing that PR is that the bundled sqlite doesn't use the androidx SQL interfaces.
s
Also only the Android driver seems to rely on androidx.sqlite, while @eygraber's PR will hopefully provide a driver for all the platforms that the bundled driver supports, right?
j
Yes
👍 1
m
https://github.com/toxicity-io/sqlite-mc bundles
SQLite3MultipleCiphers
(
SQLite
with several different encryption configurations) for `Android`/`Jvm`/`iOS`/`tvOS`/`watchOS`. Can just create the driver with an empty password for no encryption. I need to add `Linux`/`Mingw`/`macOS` to it, but have been busy AF with another project.