Open tjdgns5272 opened 3 years ago
// recipe.entity.ts @ManyToOne(() => User, (user) => user.recipes) user: User;
// user.entity.ts @OneToMany(() => Recipe, (recipe) => recipe.user) recipes: Recipe[];
๋ฆฌ๋!! ์๋์ ์กด๊ฒฝ!!!
์ค๋์ ์ด๋ป๊ฒ ํ๋ก์ ํธ์ ๊ธฐ์ฌํ๋์?
์ค๋์ ํ๋ก์ ํธ์์ ํ๋ ์ ์ ๋ฌด์์ธ๊ฐ์?
๋ด์ผ์ ํ๋ก์ ํธ์ ๊ธฐ์ฌํ๊ธฐ ์ํด ๋ฌด์์ ํด์ผ ํ๋์?