單項選擇題

MongoDB中,()刪除當前集合中的所有索引(_id上的默認索引除外)。

A.db.集合名.dropIndexes()
B.db.集合名.drop()
C.db.集合名.indexes.drop()
D.db.stus.removeIndexes()

微信掃碼免費搜題