Answers for "mongodb drop index"

0

mongodb drop index

# 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")
Posted by: Guest on July-14-2021

Browse Popular Code Answers by Language