Skip to content
Dinvolt
Esc
↑↓navigate↵open⌘Jpreview
On this page

Turso

Turso Database

The generated project uses the remote HTTP driver @tursodatabase/serverless with drizzle-orm/tursodatabase-serverless. Tables use drizzle-orm/sqlite-core.

  • Use the Turso Cloud turso:// URL and its auth token. Embedded file: databases need a different driver.
  • Keep the pinned Drizzle ORM and Kit versions together; this integration uses Drizzle v1.
  • Reuse getDb(). This driver uses fetch and has no Postgres connection pool.
  • Keep @libsql/client out of this provider; Drizzle Kit can otherwise select the legacy driver.

Drizzle Kit converts the Cloud URL to HTTPS for its bundled SDK. Your application can keep the original Turso URL.

Learn more in the Drizzle Turso guide and Turso SDK reference.

Was this page helpful?