Q. What does db.collection.drop() do?
Solution:
db.collection.drop() deletes a collection and its data.
Get Question Bank
Strengthen Your Practice with our comprehensive question bank.
db.collection.drop() deletes a collection and its data.
Strengthen Your Practice with our comprehensive question bank.