Convert a portable QuerySchema to/from Drizzle, Kysely, TanStack DB, db0, or raw SQL. Tree-shakeable adapters — only import what you need. Covers toDrizzle, fromTanDb, fromKysely, toKysely, toDb0, and toSql.
Build a portable QuerySchema with the aq builder. Typesafe where/orderBy/limit/offset, logical nesting (and/or/not) via callbacks, standalone newWhere/newComparisonWhere builders, and Zod/Valibot runtime validation with createQuerySchema.
Guidelines for developing with Drizzle ORM, a lightweight type-safe TypeScript ORM with SQL-like syntax