CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

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?

Minh họa câu hỏi

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.

  1. A. db.inventory.deleteMany ({“status”: “A”})
  2. B. db.inventory.deleteOne ({“status”: “A”}) — đáp án hiện tại
  3. C. db.inventory.insertOne ({“status”: “A”})
  4. 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.

Câu hỏi liền kề