typeorm-v0.3

Official

Comprehensive TypeORM v0.3 reference guide.

Authorzenbuapps
Version1.0.0
Installs0

System Documentation

What problem does it solve?

TypeORM v0.3 完整技術參考,對應 typeorm ^0.3.x。 當程式碼出現任何以下情況時,必須使用此 skill: import from 'typeorm'、import from '@nestjs/typeorm'; new DataSource、DataSourceOptions、createQueryBuilder、 @Entity、@PrimaryColumn、@PrimaryGeneratedColumn、@ObjectIdColumn、@Column、@Generated、 @CreateDateColumn、@UpdateDateColumn、@DeleteDateColumn、@VersionColumn、 @OneToOne、@OneToMany、@ManyToOne、@ManyToMany、@JoinColumn、@JoinTable、@RelationId、 @Tree、@TreeParent、@TreeChildren、@TreeLevelColumn、@Index、@Unique、@Check、@Exclusion、 @BeforeInsert、@AfterInsert、@BeforeUpdate、@AfterUpdate、@BeforeRemove、@AfterRemove、 @BeforeSoftRemove、@AfterSoftRemove、@BeforeRecover、@AfterRecover、@AfterLoad、 @EventSubscriber、EntitySubscriberInterface、 Repository、EntityManager、QueryRunner、SelectQueryBuilder、FindOptionsWhere、FindManyOptions、FindOneOptions、 Not、LessThan、LessThanOrEqual、MoreThan、MoreThanOrEqual、Equal、Like、ILike、Between、In、Any、IsNull、 ArrayContains、ArrayContainedBy、ArrayOverlap、JsonContains、Raw、Brackets、NotBrackets、 MigrationInterface、TypeOrmModule.forRoot、TypeOrmModule.forRootAsync、TypeOrmModule.forFeature、 @InjectRepository、@InjectDataSource、@InjectEntityManager。 預設對 PostgreSQL(但 API 本身 DB-agnostic)。v0.3 對 v0.2 有多項 breaking changes:DataSource 取代 Connection、 Repository 不再是抽象類、QueryBuilder 使用命名參數改版、FindOptions API 強型別化。

Core Features & Use Cases

  • DataSource 與設定、Entity 定義、@Column 選項、關聯與 Repository 使用方法的全面指導。
  • NestJS 整合、多 DataSource 管理、Migrations、Listeners & Subscribers、QueryBuilder 的實踐場景,面向真實專案。
  • 關於 v0.3 的變更與遷移實務重點,提供在 PostgreSQL 環境中的最佳實踐與範例。

Quick Start

Start by understanding the basics of configuring a DataSource, defining Entities and Columns, and using Repositories according to v0.3 patterns.

Dependency Matrix

Required Modules

None required

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: typeorm-v0.3
Download link: https://github.com/zenbuapps/zenbu-powers/archive/main.zip#typeorm-v0-3

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.