db.collection.dropIndexes()

db.collection.dropIndexes()

Drops all indexes other than the required index on the _id field. Only call dropIndexes() as a method on a collection object.

MongoDB Manual (Index)

关于

生态系统

格式

资源