Docs Menu

db.collection.ensureIndex()

db.collection.ensureIndex(keys, options)

Note

Removed in 5.0

See also: