Drizzle ORM 완전 가이드 — Prisma 없이 타입 안전한 TypeScript DB 레이어 만들기
Drizzle ORM 0.45와 drizzle-kit으로 SQLite·PostgreSQL을 TypeScript에서 타입 안전하게 다루는 방법. 스키마 정의부터 마이그레이션, 트랜잭션의 async 함정까지 실제 실행 로그와 함께.
jangwook.net
Personal technical notes on AI agents, automation, developer tools, and the process of building software.
Latest Notes
The root page stays intentionally small. Choose a language, then read the full archive and related posts there.
AI 에이전트, 자동화, 개발 도구, 소프트웨어 제작 과정을 한국어로 기록합니다.
Drizzle ORM 0.45와 drizzle-kit으로 SQLite·PostgreSQL을 TypeScript에서 타입 안전하게 다루는 방법. 스키마 정의부터 마이그레이션, 트랜잭션의 async 함정까지 실제 실행 로그와 함께.
Node.js 22.5.0부터 npm install 없이 쓸 수 있는 node:sqlite 모듈. DatabaseSync, StatementSync, 트랜잭션, 사용자 정의 함수까지 실제 실행한 코드와 로그로 정리했다.
LlamaIndex 0.14, LangChain 1.3, Haystack 2.30을 직접 설치·테스트했다. langchain-community deprecated 경고, 코드 복잡도 측정, InMemory 검색 결과. 2026년 RAG 프레임워크 선택 기준을 실측 데이터로 정리했다.
Personal notes on AI agents, automation, developer tools, and building software.
Type-safe SQLite and PostgreSQL in TypeScript with Drizzle ORM 0.45 and drizzle-kit — schema, migrations, transactions, and the async gotcha you need to know.
Node.js 22.5.0 ships node:sqlite, an built-in SQLite module requiring zero npm installs. DatabaseSync, StatementSync, transactions, and user-defined functions — tested hands-on with real logs.
I installed and tested LlamaIndex 0.14, LangChain 1.3, and Haystack 2.30 in a real sandbox. A hands-on comparison covering langchain-community deprecation warnings, code complexity, InMemory retrieval results, and a clear decision guide.
AIエージェント、自動化、開発ツール、ソフトウェア開発の記録です。
Drizzle ORM 0.45とdrizzle-kitでSQLite・PostgreSQLをTypeScriptで型安全に扱う方法。スキーマ定義からマイグレーション、トランザクションのasync落とし穴まで実行ログとともに解説。
Node.js 22.5.0から npm install 不要で使えるnode:sqliteモジュール。DatabaseSync、StatementSync、トランザクション、ユーザー定義関数まで、実際に実行したコードとログで整理した。
LlamaIndex 0.14、LangChain 1.3、Haystack 2.30を実際にインストール・テストした。langchain-community deprecation警告、コード複雑度測定、InMemory検索の実行結果を含む実測比較ガイド。
记录 AI 代理、自动化、开发工具和软件构建过程。
用 Drizzle ORM 0.45 和 drizzle-kit 在 TypeScript 中类型安全地操作 SQLite 和 PostgreSQL。从 schema 定义到 migration、transaction 的 async 陷阱,附实际运行日志。
Node.js 22.5.0 起可用的 node:sqlite 内置模块,无需 npm install。从 DatabaseSync、StatementSync、事务处理到自定义函数,全部基于实际运行代码和日志整理。
亲自安装测试了LlamaIndex 0.14、LangChain 1.3和Haystack 2.30。包含langchain-community弃用警告、代码复杂度测量和InMemory检索实际运行结果的实测比较指南。