Turso
According to their official website (opens in a new tab), Turso is a libSQL (opens in a new tab) powered edge SQLite database as a service
Drizzle ORM natively supports libSQL driver,
we embrace SQL dialects and dialect specific drivers and syntax and mirror most popular
SQLite-like all
, get
, values
and run
query methods syntax.
npm install drizzle-orm @libsql/client
npm install -D drizzle-kit
import { drizzle } from 'drizzle-orm/libsql';
import { createClient } from '@libsql/client';
const client = createClient({ url: 'DATABASE_URL', authToken: 'DATABASE_AUTH_TOKEN' });
const db = drizzle(client);
const result = await db.select().from(users).all()