I wonder if we can use turso instead of
I wonder if we can use turso instead of convex default seflhosted / local sqlite 🤔
1 Reply
feel free to fork
convex-backend
and go for it! You'll see that we support sqlite, postgres, mysql.
You'd have to add another option for turso - that would likely be pretty damn similar to the sqlite one.
I don't have much experience with turso.
But unlike postgres/mysql, which have a client-server relationship to the database.
Sqlite is just a file on disk and all the logic happens in the client library.
So you'd have to make changes to convex-backend
to use the new library.
You could also try ripping out rusqlite
and replacing it with turso to see how it goes