Docs Menu

db.collection.ensureIndex()icons/link.png

db.collection.ensureIndex(keys, options)
Note
Removed in 5.0
Tip
Give Feedback
MongoDB logo
© 2021 MongoDB, Inc.

About

  • Careers
  • Investor Relations
  • Legal Notices
  • Privacy Notices
  • Security Information
  • Trust Center
© 2021 MongoDB, Inc.