drizzle-orm이란?
PostgreSQL, MySQL 및 SQLite를 사용하여 유형이 안전한 SQL을 위한 ORM을 적용하세요. 스키마 정의, 쿼리 작성, 관계 관리, 마이그레이션 실행 또는 drizzle-kit 사용 시 사용합니다. drizzle, orm, 스키마, 쿼리, 마이그레이션, pgTable, 관계, drizzle-kit, drizzle-zod에 사용됩니다. 출처: oakoss/agent-skills.
PostgreSQL, MySQL 및 SQLite를 사용하여 유형이 안전한 SQL을 위한 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을 위한 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