Proposed feature: Support libsql
pdenapo opened this issue · comments
Pablo De Nápoli commented
What should be done?
I propose to add support for libsql to ferretdb
This is a fork of sqlite created by Turso that allows to connect to remote Sqlite databases.
You can use the Turso or host your own (It is open source, MIT licence).
The main change required would be to (optionally) use de libsql go driver
https://github.com/tursodatabase/libsql/tree/main/bindings/go
instead of https://pkg.go.dev/modernc.org/sqlite
One serious drawback (possible blocker): Lisql does not support prepared statements in
remote instances (yet). I don't know if FerretDB uses this, or could be avoided.
Alexey Palazhchenko commented
Another severe problem is cgo. We don't really want to use it.