mongosh
db.collection.ensureIndex(keys, options)
db.collection.ensureIndex() foi substituído por db.collection.createIndex().
db.collection.ensureIndex()
db.collection.createIndex()
Voltar
db.collection.dropIndexes
Próximo
db.collection.estimatedDocumentCount