@@ -3892,7 +3892,7 @@ Use `clientEncryption.encrypt()` to encrypt the string `"foo"`:
3892
3892
Store this query in ` findPayload ` .
3893
3893
3894
3894
` ` ` javascript
3895
- { "$expr": { "$encStrStartsWith": {"input": "encryptedText", "prefix": <encrypted "foo">}, } }
3895
+ { "$expr": { "$encStrStartsWith": {"input": "$ encryptedText", "prefix": <encrypted "foo">}, } }
3896
3896
` ` `
3897
3897
3898
3898
Use ` encryptedClient ` to run a " find" operation on the ` db.explicit_encryption ` collection with the filter
@@ -3911,7 +3911,7 @@ Use `clientEncryption.encrypt()` to encrypt the string `"baz"`:
3911
3911
Store this query in ` findPayload ` .
3912
3912
3913
3913
` ` ` javascript
3914
- { "$expr": { "$encStrStartsWith": {"input": "encryptedText", "prefix": <encrypted "baz">}, } }
3914
+ { "$expr": { "$encStrStartsWith": {"input": "$ encryptedText", "prefix": <encrypted "baz">}, } }
3915
3915
` ` `
3916
3916
3917
3917
Store the result in ` findPayload ` . Use ` encryptedClient ` to run a " find" operation on the ` db.explicit_encryption `
@@ -3930,7 +3930,7 @@ Use `clientEncryption.encrypt()` to encrypt the string `"baz"`:
3930
3930
Store this query in ` findPayload ` .
3931
3931
3932
3932
` ` ` javascript
3933
- { "$expr": { "$encStrStartsWith": {"input": "encryptedText", "prefix": <encrypted "baz">}, } }
3933
+ { "$expr": { "$encStrStartsWith": {"input": "$ encryptedText", "prefix": <encrypted "baz">}, } }
3934
3934
` ` `
3935
3935
3936
3936
Store the result in ` findPayload ` . Use ` encryptedClient ` to run a " find" operation on the ` db.explicit_encryption `
@@ -3945,7 +3945,7 @@ Use `clientEncryption.encrypt()` to encrypt the string `"foo"`:
3945
3945
Store this query in ` findPayload ` .
3946
3946
3947
3947
` ` ` javascript
3948
- { "$expr": { "$encStrStartsWith": {"input": "encryptedText", "suffix": <encrypted "foo">}, } }
3948
+ { "$expr": { "$encStrStartsWith": {"input": "$ encryptedText", "suffix": <encrypted "foo">}, } }
3949
3949
` ` `
3950
3950
3951
3951
Store the result in ` findPayload ` . Use ` encryptedClient ` to run a " find" operation on the ` db.explicit_encryption `
@@ -3993,7 +3993,7 @@ Use `clientEncryption.encrypt()` to encrypt the string `"bar"`:
3993
3993
Store this query in ` findPayload ` .
3994
3994
3995
3995
` ` ` javascript
3996
- { "$expr": { "$encStrStartsWith": {"input": "encryptedText", "prefix": <encrypted "bar">}, } }
3996
+ { "$expr": { "$encStrStartsWith": {"input": "$ encryptedText", "prefix": <encrypted "bar">}, } }
3997
3997
` ` `
3998
3998
3999
3999
Store the result in ` findPayload ` . Use ` encryptedClient ` to run a " find" operation on the ` db.explicit_encryption `
@@ -4012,7 +4012,7 @@ Use `clientEncryption.encrypt()` to encrypt the string `"qux"`:
4012
4012
Store this query in ` findPayload ` .
4013
4013
4014
4014
` ` ` javascript
4015
- { "$expr": { "$encStrStartsWith": {"input": "encryptedText", "prefix": <encrypted "qux">}, } }
4015
+ { "$expr": { "$encStrStartsWith": {"input": "$ encryptedText", "prefix": <encrypted "qux">}, } }
4016
4016
` ` `
4017
4017
4018
4018
Store the result in ` findPayload ` . Use ` encryptedClient ` to run a " find" operation on the ` db.explicit_encryption `
0 commit comments