You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to have an API that can open any type of connection (like you would for instace do in javascript using libsql-js) with a given URL / database location.
Futhermore, the C API seems to be no where documented. After some testing, I have found the following
There I have created also a function int libsql_open_any that does exactly this. If you think that this is a good idea, I may submit a pull request. But may be this just must be the
default libsql_open_remote behavoir.
(But perhaps you already have an API for doing this, I don't know)
It would be nice to have an API that can open any type of connection (like you would for instace do in javascript using libsql-js) with a given URL / database location.
Futhermore, the C API seems to be no where documented. After some testing, I have found the following
":memory:"
"file:prueba.db"
"http://127.0.0.1:8080"
"libsql://yourdb-username.turso.io"
you need to use libsql_open_remote. But this function does not understand the
":memory:"
"file:prueba.db"
schemas.
The text was updated successfully, but these errors were encountered: