- It is highly recommended that an index covering the column to be used exists
When connecting to MongoDB hosted on Atlas, the following connection settings are recommended:
- Host: Found in the "Connect" section of Atlas for the cluster (i.e.
- Use SRV: Yes (required)
- Use SSL: Yes (required)
- Auth Source: typically "admin"
- Read Preference: typically "Secondary" if you have a multi-node cluster, "Primary" otherwise