Câu 11: C100DBA: MongoDB Associate Database Administrator
The orders collection contains the following sample documents: Given the following MongoDB query using the $elemMatch operator: db.orders.find({ “items”: { “$elemMatch”: { “quantity”: 5, “price”: { “$lt”: 20 } } } })Which documents will be returned?
Nội dung câu hỏi
The orders collection contains the following sample documents: Given the following MongoDB query using the $elemMatch operator: db.orders.find({ “items”: { “$elemMatch”: { “quantity”: 5, “price”: { “$lt”: 20 } } } })Which documents will be returned?
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. Document with _id: 1 & _id:3
- B. Document with _id: 1 & _id:2 — đáp án hiện tại
- C. Document with _id: 2 & _id:4
- D. Document with _id: 2 & _id:3
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.