UNPKG

bknd

Version:

Lightweight Firebase/Supabase alternative built to run anywhere — incl. Next.js, React Router, Astro, Cloudflare, Bun, Node, AWS Lambda & more.

7 lines (6 loc) 389 B
import { type GenericSqliteConnection } from "../../.."; export type D1SqliteConnection = GenericSqliteConnection<D1Database>; export type D1ConnectionConfig<DB extends D1Database | D1DatabaseSession = D1Database> = { binding: DB; }; export declare function d1Sqlite<DB extends D1Database | D1DatabaseSession = D1Database>(config: D1ConnectionConfig<DB>): GenericSqliteConnection<DB>;