db.collection.ensureIndex(keys, options)
db.collection.ensureIndex()가 db.collection.createIndex()로 대체되었습니다.
db.collection.ensureIndex()
db.collection.createIndex()
다음도 참조하세요.
돌아가기
db.collection.dropIndexes()
다음
db.collection.estimatedDocumentCount