Optional Ecto SQL adapter for Turso.
This adapter is compiled only when ecto_sql is available. It uses
Turso.Connection for DBConnection pooling and Turso native execution,
while rendering SQL with Turso's SQLite-compatible dialect.
Configure a repo with:
config :my_app, MyApp.Repo,
database: "my_app.db",
pool_size: 5:database, :remote_url, and :auth_token are forwarded to Turso.
:memory and ":memory:" open an in-memory database; use pool_size: 1
when using an in-memory repo so all operations share the same handle.
The adapter supports normal schema and query operations plus ecto_sql
migrations. Streams and multi-result queries are not supported by the
current native connection.