Open scr2em opened 1 year ago
That would be a great addition! Can someone estimate the effort?
Will this only need some copy&paste from another adapter or will it require hours/days of work?
Yes please, We need drizzle with Ionic Capacitor. wrap the already existing https://github.com/capacitor-community/sqlite adapting the properties Drizzle expects.
It would be a great feature as more people are switching over to Drizzle.
How difficult would it be? I'm needing it
I'm interested in seeing this as well. I have checked typeorm PR that added capacitor support, and the changes seem relatively minimal.
+1
+1
+1
I have done this for Kysely. Does Drizzle ORM have a custom Driver API, similar to Kysely? Maybe I could take a stab at it.
@yshalsager Note that the TypeORM implementation doesn't support transactions well.
+1
@scr2em @bluepuma77 @CaseoJKL @mauroziux @yshalsager @richardliebmann @DMills03 @solmanter
I started an open-source project last night to fill the gap with drivers for various ORMs. I am starting with Drizzle. It is not production-ready. Contributions are welcome. https://github.com/oliveryasuna/capacitor-sqlite-drivers
@oliveryasuna Could you have a short meeting ? In that case feel free to contact me.
Describe what you want
https://github.com/capacitor-community/sqlite
it's a Capacitor community plugin for Native and Electron SQLite Databases.
It would be nice to support it. Thanks for taking this into consideration.