MCQs > IT & Programming > MongoDB > The code below is used to try to delete a collection in the mongo shell: db.my-collection.drop() Choose the best statement that best describes why the code fails to delete the collection.

MongoDB MCQs

The code below is used to try to delete a collection in the mongo shell: db.my-collection.drop() Choose the best statement that best describes why the code fails to delete the collection.

Answer

Correct Answer: The shell's interpreter tries to apply this as subtraction

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