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

Câu 2: C100DBA: MongoDB Associate Database Administrator

Consider a contacts collection that contains these documents:{“_id”: 1, “name”: “Poppy”, “birthday”: “03-09-1984”}{“_id”: 2, “name”: “Ashley”, “birthday”: “08-12-1990”}{“_id”: 3, “name”: “Cleo”, “birthday”: “11-02-1976”}What query returns the document where the field name is “Poppy”?

Nội dung câu hỏi

Consider a contacts collection that contains these documents:{“_id”: 1, “name”: “Poppy”, “birthday”: “03-09-1984”}{“_id”: 2, “name”: “Ashley”, “birthday”: “08-12-1990”}{“_id”: 3, “name”: “Cleo”, “birthday”: “11-02-1976”}What query returns the document where the field name is “Poppy”?

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.contacts.find( { “name”: “poppy” } )
  2. B. db.contacts.find( { “name”: “Poppy” } )
  3. C. db.contacts.find( { “Poppy” : 1 } ) — đáp án hiện tại
  4. D. db.contacts.find( { “name.Poppy” : 1 } )

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ề