-
[MongoDB] embedded documents / references 활용 추천공부/MongoDB 2022. 1. 17. 22:32
embedded documents
- 데이터를 논리적인 그룹으로 묶을 때 용이함
- 일대일 관계, 일대다 관계
references
- 데이터를 collection으로 분리함
- 다대다 관계, update해야할 중복된 document가 많은 경우
'공부 > MongoDB' 카테고리의 다른 글
[MongoDB] data types (0) 2022.01.11 [MongoDB] embedded documents & arrays (0) 2022.01.09 [MongoDB] projection (0) 2022.01.09 [MongoDB] find( ) (0) 2022.01.09 [MongoDB] CRUD Operations (0) 2022.01.09