MongoDB Pertanyaan dan Jawaban Wawancara
Question: What is the purpose of the `findOne` method in MongoDB?Answer: The `findOne` method in MongoDB is used to retrieve a single document that satisfies the specified query criteria. It returns the first document that matches the query. |
Simpan untuk Revisi
Bookmark item ini, tandai sebagai sulit, atau masukkan ke dalam set revisi.
Masuk untuk menyimpan bookmark, pertanyaan sulit, dan set revisi.
Apakah ini membantu? Ya Tidak
Most helpful rated by users: