db.collection.drop()

db.collection.drop()

Call the db.collection.drop() method on a collection to drop it from the database.

db.collection.drop() takes no arguments and will produce an error if called with any arguments.

MongoDB Manual (Index)

关于

生态系统

格式

资源