多項選擇題

MongoDB中,對于stus集合,如字段sname上已存在一個名為sname_Index的升序索引,如何將此索引刪除掉?()

A.db.stus.dropIndex({sname:1})
B.db.stus.dropIndex(’sname_1’)
C.db.stus.dropIndex(’sname_Index’)
D.db.stus.dropIndexes()

微信掃碼免費搜題