Sail E0 Webinar
Question
Which MongoDB shell command deletes a single document?
Options:
A .  db.customers.delete({_id: 1});
B .  db.customers.drop({_id: 1});
C .  db.drop.customers({_id: 1});
D .  db.customers.remove({_id: 1});
Answer: Option D

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers