Drizzle ORM Best Practices (PostgreSQL) Comprehensive best practices guide for Drizzle ORM with PostgreSQL. Contains guidance across 8 categories, prioritized by impact to help you write correct, performant, and maintainable database code. Version & API Detection (read this first) Drizzle is mid-transition to v1 , and the relations + relational-query APIs differ between the two major lines. Check the project's before writing code so you emit the right syntax: | Installed | API to use | Install command | |---|---|---| | or | v1 — the default in this skill. , object-syntax relational queries (…