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.

7 lines (5 loc) 193 B
import type { SelectQueryBuilder } from 'kysely'; export type TSelectQueryBuilder< TShape, TableName extends string, > = SelectQueryBuilder<{ [k in TableName]: TShape }, TableName, TShape>;