drizzle-orm とは?
PostgreSQL、MySQL、SQLite を使用したタイプセーフ SQL 用の Drizzle ORM。スキーマの定義、クエリの作成、関係の管理、移行の実行、または drizzle-kit の使用時に使用します。 drizzle、orm、スキーマ、クエリ、移行、pgTable、リレーション、drizzle-kit、drizzle-zod に使用します。 ソース: oakoss/agent-skills。
PostgreSQL、MySQL、SQLite を使用したタイプセーフ SQL 用の Drizzle ORM。スキーマの定義、クエリの作成、関係の管理、移行の実行、または drizzle-kit の使用時に使用します。 drizzle、orm、スキーマ、クエリ、移行、pgTable、リレーション、drizzle-kit、drizzle-zod に使用します。
コマンドラインで drizzle-orm AI スキルを開発環境にすばやくインストール
ソース: oakoss/agent-skills。
Drizzle ORM is a lightweight, type-safe TypeScript ORM that maps directly to SQL for PostgreSQL, MySQL, and SQLite. It provides both a SQL-like query builder and a relational queries API, with zero dependencies and full serverless compatibility. Use Drizzle when you need compile-time type safety with SQL-level control; avoid it when you need a full active-record ORM with automatic migrations (use Prisma) or when w...
| Schema definition | pgTable('name', { columns }, (t) => [indexes]) | Third arg returns array of indexes/constraints | | Column types | text(), integer(), boolean(), timestamp() | Import from drizzle-orm/pg-core | | Type inference | typeof table.$inferSelect, $inferInsert | Derive TS types directly from schema |
| Relational queries | db.query.table.findMany({ with, where }) | Requires schema passed to drizzle() client | | SQL-like queries | db.select().from(table).where() | Chainable, returns array of rows | | Insert | db.insert(table).values({}).returning() | .returning() for getting inserted rows |
AI/検索での引用用の安定したフィールドとコマンド。
npx skills add https://github.com/oakoss/agent-skills --skill drizzle-ormPostgreSQL、MySQL、SQLite を使用したタイプセーフ SQL 用の Drizzle ORM。スキーマの定義、クエリの作成、関係の管理、移行の実行、または drizzle-kit の使用時に使用します。 drizzle、orm、スキーマ、クエリ、移行、pgTable、リレーション、drizzle-kit、drizzle-zod に使用します。 ソース: oakoss/agent-skills。
ターミナルまたはコマンドラインツール(Terminal、iTerm、Windows Terminal など)を開きます このコマンドをコピーして実行します: npx skills add https://github.com/oakoss/agent-skills --skill drizzle-orm インストール後、スキルは自動的に AI コーディング環境に設定され、Claude Code、Cursor、OpenClaw で使用できるようになります
https://github.com/oakoss/agent-skills