Skip to content

Commit eaa1d25

Browse files
committed
input field needs dollar sign
1 parent 6d144d4 commit eaa1d25

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

source/client-side-encryption/tests/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3892,7 +3892,7 @@ Use `clientEncryption.encrypt()` to encrypt the string `"foo"`:
38923892
Store this query in `findPayload`.
38933893

38943894
```javascript
3895-
{ "$expr": { "$encStrStartsWith": {"input": "encryptedText", "prefix": <encrypted "foo">}, } }
3895+
{ "$expr": { "$encStrStartsWith": {"input": "$encryptedText", "prefix": <encrypted "foo">}, } }
38963896
```
38973897

38983898
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"`:
39113911
Store this query in `findPayload`.
39123912

39133913
```javascript
3914-
{ "$expr": { "$encStrStartsWith": {"input": "encryptedText", "prefix": <encrypted "baz">}, } }
3914+
{ "$expr": { "$encStrStartsWith": {"input": "$encryptedText", "prefix": <encrypted "baz">}, } }
39153915
```
39163916

39173917
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"`:
39303930
Store this query in `findPayload`.
39313931

39323932
```javascript
3933-
{ "$expr": { "$encStrStartsWith": {"input": "encryptedText", "prefix": <encrypted "baz">}, } }
3933+
{ "$expr": { "$encStrStartsWith": {"input": "$encryptedText", "prefix": <encrypted "baz">}, } }
39343934
```
39353935

39363936
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"`:
39453945
Store this query in `findPayload`.
39463946

39473947
```javascript
3948-
{ "$expr": { "$encStrStartsWith": {"input": "encryptedText", "suffix": <encrypted "foo">}, } }
3948+
{ "$expr": { "$encStrStartsWith": {"input": "$encryptedText", "suffix": <encrypted "foo">}, } }
39493949
```
39503950

39513951
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"`:
39933993
Store this query in `findPayload`.
39943994

39953995
```javascript
3996-
{ "$expr": { "$encStrStartsWith": {"input": "encryptedText", "prefix": <encrypted "bar">}, } }
3996+
{ "$expr": { "$encStrStartsWith": {"input": "$encryptedText", "prefix": <encrypted "bar">}, } }
39973997
```
39983998

39993999
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"`:
40124012
Store this query in `findPayload`.
40134013

40144014
```javascript
4015-
{ "$expr": { "$encStrStartsWith": {"input": "encryptedText", "prefix": <encrypted "qux">}, } }
4015+
{ "$expr": { "$encStrStartsWith": {"input": "$encryptedText", "prefix": <encrypted "qux">}, } }
40164016
```
40174017

40184018
Store the result in `findPayload`. Use `encryptedClient` to run a "find" operation on the `db.explicit_encryption`

0 commit comments

Comments
 (0)