Replies: 2 comments
-
How is this different from the two sqlite drivers we already have? If you can make it work with knex, adding the driver should be rather simple, but I'd first want to see an actual reason. edit: gave it a quick look, and to me it sounds more like you want "turso driver", as that seems to be the only reason to use that sqlite fork, or are there any other alternatives you could use? https://github.com/mikro-orm/mikro-orm/blob/master/packages/mariadb/src/MariaDbConnection.ts#L13 |
Beta Was this translation helpful? Give feedback.
-
Next version will include libsql driver: #5417 |
Beta Was this translation helpful? Give feedback.
-
Is your feature request related to a problem? Please describe.
I would like to easily use a sqlite database in development, but connect to a different remote database in production. libSQL would be a nice tool to use that adds some consistency, but there is currently no official libSQL support in MikroORM.
Describe the solution you'd like
While custom adapters are supported, I fell that a libSQL adapter would be a reasonable addition to the core offering. I am currently looking to build this out in the knex library, and I would love to contribute a
@mikro-orm/libsql
package here if you'd be open to that contribution.Describe alternatives you've considered
Custom adapter
Additional context
No additional context, except to thank you for making such an awesome library :)
Beta Was this translation helpful? Give feedback.
All reactions