๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ

Develop Study ๐Ÿ’ป

210120 ๊ฐœ๋ฐœ ๊ณต๋ถ€

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