Relations
Learn how to define OneToMany, ManyToOne, and ManyToMany relations in TypeORM. Relations map the foreign key constraints and join tables of a relational database into clean TypeScript class properties.
QueryBuilder
The TypeORM QueryBuilder lets you construct complex SQL queries in TypeScript — JOINs, subqueries, aggregations, conditional filtering, and pagination — all with full type safety and without writing raw SQL strings.