Câu 24: C100DEV: MongoDB Associate Developer
Assuming correct imports, properly instantiated MongoClient called client, and given the following Java code: What statement correctly updates a single document in MongoDB?
Nội dung câu hỏi
Assuming correct imports, properly instantiated MongoClient called client, and given the following Java code: What statement correctly updates a single document in MongoDB?
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. collection.updateSingle(filter, update);
- B. collection.updateOne(update, filter);
- C. collection.updateSingle(update, filter);
- D. collection.updateOne(filter, update); — đá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.