SPB Git
4.4 KB · 49 lines json
1{2  "slug": "drizzle-orm",3  "name": "Drizzle ORM",4  "aliases": ["Drizzle"],5  "vendor": { "name": "Drizzle Team", "slug": "drizzle-team", "website": "https://orm.drizzle.team" },6  "homepage_url": "https://orm.drizzle.team/",7  "docs_url": "https://orm.drizzle.team/docs/overview",8  "repo_url": "https://github.com/drizzle-team/drizzle-orm",9  "license_url": "https://github.com/drizzle-team/drizzle-orm/blob/main/LICENSE",10  "product_type": "library",11  "product_status": "active",12  "summary": "TypeScript ORM with SQL-like query builder, schema defined in code, migrations through Drizzle Kit, and support for PostgreSQL, MySQL and SQLite drivers",13  "description": "Drizzle ORM is a TypeScript object-relational mapper developed by the Drizzle Team and released under the Apache-2.0 license. Schemas are declared in TypeScript, which gives fully typed tables, columns and query results without code generation, and queries are written with a builder that mirrors SQL closely (select, where, join, group by) alongside a relational query API for nested results. It has no runtime dependencies beyond the chosen database driver and runs in Node.js, Bun, Deno and edge runtimes.\n\nSupported databases include PostgreSQL, MySQL and SQLite families, including hosted variants such as Neon, Supabase, PlanetScale, Turso and Cloudflare D1. The companion Drizzle Kit CLI generates and applies SQL migrations from schema changes and provides Drizzle Studio, a browser-based data viewer. Drizzle is popular in Next.js and Hono projects where developers want SQL transparency and small bundles. Its trade-offs relative to Prisma are a steeper start for those unfamiliar with SQL, fewer high-level conveniences, and documentation that, while improving, is less tutorial-oriented.",14  "capabilities": ["Schema declared in TypeScript with inferred types", "SQL-like query builder and relational query API", "Migrations generated from schema diffs (Drizzle Kit)", "Drivers for PostgreSQL, MySQL and SQLite, including serverless variants", "Runs in Node.js, Bun, Deno and edge runtimes", "Drizzle Studio data browser"],15  "workflows": ["Define a schema, generate migrations and apply them in CI", "Query PostgreSQL from a Next.js server component", "Use SQLite or Turso in an edge deployment"],16  "advantages": ["Close to SQL with full type safety", "No code generation step", "Small footprint suited to edge runtimes"],17  "limitations": ["Assumes SQL familiarity", "Fewer high-level abstractions than Prisma", "Documentation less structured for beginners"],18  "prerequisites": ["TypeScript project and a database driver"],19  "audiences": ["TypeScript backend developers", "Teams deploying to edge or serverless runtimes"],20  "alternatives": ["prisma"],21  "comparison_notes": "Prisma uses its own schema language and a generated client with a query engine, which yields a very approachable API and strong tooling but adds a build step and, historically, a native binary; Drizzle keeps everything in TypeScript and closer to raw SQL. Both support PostgreSQL, MySQL and SQLite; the choice usually turns on SQL comfort and runtime constraints.",22  "categories": [{ "slug": "web-frameworks", "primary": true }, { "slug": "relational-databases" }],23  "tags": ["typescript", "sql", "orm", "open-source"],24  "use_cases": ["build-web-apps"],25  "operating_systems": ["any"],26  "execution_modes": ["local", "self-hosted", "cloud"],27  "interfaces": ["library", "cli"],28  "deployment_models": ["embedded"],29  "integrations": ["PostgreSQL", "MySQL", "SQLite", "Neon", "Supabase", "Turso", "Cloudflare D1", "Next.js", "Hono"],30  "data_formats": ["SQL", "TypeScript schema", "JSON"],31  "languages": ["TypeScript"],32  "source_model": "open-source",33  "license_spdx": "Apache-2.0",34  "pricing_model": ["open-source", "free"],35  "self_hostable": true,36  "sources": [37    { "url": "https://orm.drizzle.team/", "type": "official_site", "title": "Drizzle ORM", "supports": ["name", "summary"], "checked_at": "2026-11-02" },38    { "url": "https://orm.drizzle.team/docs/overview", "type": "official_docs", "title": "Drizzle ORM overview", "supports": ["capabilities"], "checked_at": "2026-11-02" },39    { "url": "https://github.com/drizzle-team/drizzle-orm/blob/main/LICENSE", "type": "license_page", "supports": ["license_spdx", "source_model"], "checked_at": "2026-11-02" }40  ],41  "confidence": "high",42  "discovery_method": "editorial-research",43  "depth": "standard",44  "editorial_status": "reviewed",45  "visibility": "public",46  "featured": false,47  "author": "batch-B1"48}49
Files · main
Menu

Theme