Skip to content

Commit

Permalink
mdformat
Browse files Browse the repository at this point in the history
  • Loading branch information
adriandole committed May 31, 2024
1 parent cb62fe0 commit b5c8f4b
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions source/client-side-encryption/client-side-encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -1203,8 +1203,8 @@ One of the strings:
- "Unindexed"
- "Range"

The result of explicit encryption with the "Indexed" or "Range" algorithm must be processed by the server to
insert or query. Drivers MUST document the following behavior:
The result of explicit encryption with the "Indexed" or "Range" algorithm must be processed by the server to insert or
query. Drivers MUST document the following behavior:

> To insert or query with an "Indexed" or "Range" encrypted payload, use a `MongoClient` configured with
> `AutoEncryptionOpts`. `AutoEncryptionOpts.bypassQueryAnalysis` may be true. `AutoEncryptionOpts.bypassAutoEncryption`
Expand All @@ -1222,13 +1222,12 @@ One of the strings:
- "equality"
- "range"

queryType only applies when algorithm is "Indexed" or "Range". It is an error to set queryType when algorithm is
not "Indexed" or "Range".
queryType only applies when algorithm is "Indexed" or "Range". It is an error to set queryType when algorithm is not
"Indexed" or "Range".

#### rangeOpts

rangeOpts only applies when algorithm is "range". It is an error to set rangeOpts when algorithm is not
"range".
rangeOpts only applies when algorithm is "range". It is an error to set rangeOpts when algorithm is not "range".

## User facing API: When Auto Encryption Fails

Expand Down

0 comments on commit b5c8f4b

Please sign in to comment.