What problem does it solve?
This Skill streamlines the development of data access layers for applications using TypeORM, automating the generation of entities, repositories, migrations, and query builders.
Core Features & Use Cases
- Entity Generation: Creates TypeORM entities with decorators for various database types and relations.
- Repository & QueryBuilder: Provides examples for implementing the repository pattern and using QueryBuilder for complex queries.
- Migration Management: Automates the generation and execution of TypeORM migrations.
- NestJS Integration: Guides on integrating TypeORM with NestJS applications.
- Use Case: When setting up a new feature that requires database interaction, use this skill to quickly generate the necessary TypeORM entity, repository, and migration files.
Quick Start
Use the db-typeorm skill to generate a TypeORM entity for a 'Product' with fields for 'name', 'price', and 'description'.