UNPKG

agnostic-query

Version:

Type-safe fluent builder for portable query schemas. Runtime-agnostic, database-agnostic — the same QuerySchema drives Drizzle, Kysely, db0, or raw SQL.

6 lines (5 loc) 128 B
export type Db = { prepare: (sql: string) => { all: (...params: any[]) => Promise<unknown[]> | unknown[]; }; };