728x90
๋ฐฑ๊ฐ๋ฐ์ ๋ค์ด๊ฐ๊ธฐ ์
๋๋น๊ตฌ์กฐ๊ฐ ์ ํํ ์ง์ฌ์์ง ์์ผ๋ฉด ์์ ์ด ๋์ด ์์๊ฒ ๊ฐ์
๋งจ๋ ์ ํค๋ฉ์ผ๋ก ์ผ๋จ ๋๋น ์์
์ผ๋งค๋ก ํด์ค๋ค๊ฐ ํ๋์ฉ ์ ์์ผ๋ก ์์๊ฐ๋ ์ฌ๋ฏธ๋ ์์
https://mongoosejs.com/docs/populate.html
Mongoose v5.11.12: Query Population
Populate MongoDB has the join-like $lookup aggregation operator in versions >= 3.2. Mongoose has a more powerful alternative called populate(), which lets you reference documents in other collections. Population is the process of automatically replacing th
mongoosejs.com
population ๊ณต๋ถ(ํ ๊ฒ)
728x90
'Develop Study ๐ป' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
react ๋ฆฌ์ํธ ๊ณต๋ถ / ์์ํ๊ธฐ (0) | 2021.01.22 |
---|---|
MogoDB / Mongoose / populate / Nosql๋ก ์กฐ์ธ ๊ตฌํ (0) | 2021.01.21 |
mongoose populate / ref (0) | 2021.01.20 |
210119 ํ๋ก ํธ๊ฐ๋ฐ๊ณต๋ถ (0) | 2021.01.19 |
class ์ฌ์ฉ๋ฒ ๊ณต๋ถํ ๊ฒ (0) | 2021.01.19 |