MCQs > IT & Programming > MongoDB > What is the correct query to find all of the people who have a home phone number defined?

MongoDB MCQs

What is the correct query to find all of the people who have a home phone number defined?

Answer

Correct Answer: Db.person.find({homePhone: {$exists: true}});

Explanation:

Note: This Question is unanswered, help us to find answer for this one

MongoDB Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

MongoDB Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it