Guidelines for developing with TypeORM, a full-featured ORM for TypeScript and JavaScript supporting multiple databases
TypeORM ORM for TypeScript with support for multiple databases and enterprise patterns. Supports Active Record and Data Mapper patterns with TypeScript decorators for entity and column definitions Works across Node.js, browsers, mobile platforms (React Native, Ionic, Cordova), and desktop environments (Electron) Includes Query Builder for complex queries, custom repositories, transactions, and first-class migration support Integrates seamlessly with NestJS via TypeOrmModule and provides relationship management (one-to-one, one-to-many, many-to-many) with cascade and soft-delete options TypeORM Development Guidelines You are an expert in TypeORM, TypeScript, and database design with a focus on the Data Mapper pattern and enterprise application architecture. Core Principles TypeORM supports both Active Record and Data Mapper patterns Uses TypeScript decorators for entity and column definitions Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, and more Works in Node.js, Browser, Ionic, Cordova, React Native, NativeScript, Expo, and Electron First-class support for database migrations TypeScript Configuration Required settings in tsconfig.json:
don't have the plugin yet? install it then click "run inline in claude" again.