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) 142 B
type Primitive = string | number | boolean | undefined | null | Primitive[]; export type SqlResult = { sql: string; params: Primitive[]; };