mongocli atlas cluster index create

Create a rolling index for your MongoDB cluster

Options

NameDescription
--clusterName <clusterName>
  • Required ✳
--collection <collection>
  • Required ✳
--db <db>
  • Required ✳
--key <key>
  • Required ✳
--projectId <projectId>Project ID to use. Overrides the settings in the configuration file or environment variable
--sparseFlag that indicates whether Atlas should create a sparse index