For AI agents: a documentation index is available at https://www.mongodb.com/docs/llms.txt — markdown versions of all pages are available by appending .md to any URL path.
MongoDB Compass Readonly Edition will be deprecated in a future release. To replicate the read-only behavior in a standard Compass edition, assign users read access at the database level and enable the readOnly option in Compass.
Queryable Encryption with equality queries is generally available (GA) in MongoDB 7.0 and later. The Queryable Encryption Public Preview, released in version 6.0, is no longer supported. Data encrypted using the Public Preview is incompatible with the feature release. For more information, see Compatibility Changes in MongoDB 7.0.
Queryable Encryption allows you to encrypt a subset of fields in your collection.
Limitations
Your deployment must be connected using In-Use Encryption to encrypt your collection using Queryable Encryption.
Custom collation is the only Advanced Collection Option that you can use with Queryable Encryption.
Procedure
1
Click the Create Collection button.
From the Collections screen, click the Create Collection button.
2
Enter the collection name.
3
Click the Additional preferences dropdown.
Check the Queryable Encryption option.
4
Specify an Encrypted Field.
Specify which fields should be encrypted and whether they should be queryable.
The following fields must be used if no existing keyId was specified for at least one encrypted field, and have no effect otherwise: