A.db.stus.dropIndex({sname:1})B.db.stus.dropIndex(’sname_1’)C.db.stus.dropIndex(’sname_Index’)D.db.stus.dropIndexes()
A.removeB.deleteManyC.deleteOneD.delete
A.操作集合前需要切換至對(duì)用數(shù)據(jù)庫B.使用create Collection方法創(chuàng)建集合C.在MongoDB中,當(dāng)插入文檔時(shí),如果集合不存在,則MongoDB會(huì)隱式地自動(dòng)創(chuàng)建集合D.查看數(shù)據(jù)庫里集合的信息時(shí)使用list命令