One-to-one relations1 One-to-one relations A가 오로지 하나의 B만 포함한다! B역시 오직 하나의 A만 포함한다. https://typeorm.io/one-to-one-relations One-to-one is a relation where A contains only one instance of B, and B contains only one instance of A. Let's take for example User and Profile entities. User can have only a single profile, and a single profile is owned by only a single user. // Profile import { Entity, PrimaryGeneratedColumn, Column } from "typeor.. 2023. 4. 14. 이전 1 다음 728x90