spaceship_db/drivers/turso
Types
Values
pub fn config(url: String, api_token: String) -> Config
Create a Turso driver configuration.
The URL may use https://, turso://, or libsql://. The latter two are
converted to https:// for the SQL-over-HTTP endpoint.
pub fn driver(
url: String,
api_token: String,
) -> driver.AsyncDriver
Create a Turso driver.
url is the database URL and api_token is a Turso database token.