Overview of drizzle-plus features
maindrizzle-plus provides query-builder extensions and SQL helpers for Drizzle ORM to fill practical gaps in the relational query builder. It supports PostgreSQL, MySQL, and SQLite.
Key feature areas include:
Query extensions
Extends db.query.<table_name> with methods like count(), updateMany(), upsert(), and cursorPagination().
Database and select helpers
Extends db, tables, or the select builder with helpers like $select, $values, $without, and support for CTEs (Recursive and Materialized).
SQL building blocks
Provides type-aware SQL expressions such as caseWhen(), nest(), and universal/dialect-specific functions.
Utilities and types
Includes helpers like orThrow() for handling empty results and type utilities for deriving types from relational query builders.