Câu 3: C100DEV: MongoDB Associate Developer
In an employee collection, each document represents an employee of the company. What data model is the most effective for tracking the relationship between an employee and their manager?
Nội dung câu hỏi
In an employee collection, each document represents an employee of the company. What data model is the most effective for tracking the relationship between an employee and their manager?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Reference array to employee documents in each manager document
- B. Embed manager document into each employee document
- C. Embed employee documents as an array into each manager document
- D. Reference to manager document in each employee document — đáp án hiện tại
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.