✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
You are designing a user database. Each user can have up to 3 addresses (e.g., home, work, mailing), and your application very frequently needs to retrieve a user profile along with all their addresses. What is the most efficient way to model this in MongoDB?