drizzle-orm
Drizzle ORM Guidelines
Reference Repositories
- Drizzle ORM : TypeScript ORM with SQL-like query builder
Drizzle's one database here is Postgres: apps/api/drizzle.config.ts declares
dialect: 'postgresql' and pg-core is the only dialect imported. The
repository's other SQLite engines are not Drizzle, so a SQLite question is
usually a question about them instead.
Upstream Grounding
When Drizzle schema definitions, migration snapshots, query builder APIs, column typing, custom types, or driver integration affect correctness, use source-backed grounding before relying on memory. If DeepWiki MCP is available, ask a narrow question against drizzle-team/drizzle-orm. If DeepWiki is unavailable or the repo is not indexed, use upstream source or official docs directly. Treat DeepWiki as orientation, then verify decisive details against local installed types, generated migrations, source, driver versions, or official docs before changing code.
Skip DeepWiki for repo-local schema naming and storage-boundary conventions already documented below.