Câu 17: C100DEV: MongoDB Associate Developer
Given the following sample documents in the inventory collection: What expression will remove only one document with “status”:“A” in the inventory collection?
Nội dung câu hỏi
Given the following sample documents in the inventory collection: What expression will remove only one document with “status”:“A” in the inventory collection?
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. db.inventory.deleteMany ({“status”: “A”})
- B. db.inventory.deleteOne ({“status”: “A”}) — đáp án hiện tại
- C. db.inventory.insertOne ({“status”: “A”})
- D. db.inventory.remove ({“status”: “A”})
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.