📜  mongodb drop index - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:10.149000             🧑  作者: Mango

代码示例1
# First Get Your Index name by
db.coll.getIndexes() # Because the index name would be different than the field name

# then Do
db.coll.dropIndex("column_1")