[MONGOCRYPT-505] Add context initializer for encryptExpression Created: 04/Dec/22 Updated: 28/Oct/23 Resolved: 07/Dec/22 |
|
| Status: | Closed |
| Project: | Libmongocrypt |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 1.7.0, 1.7.0-alpha1 |
| Type: | Task | Priority: | Unknown |
| Reporter: | Kevin Albertson | Assignee: | Kevin Albertson |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | libmongocrypt Support for Range Index |
| Binding Changes: | Not Needed |
| Description |
|
Summary
Background & Motivation The DBX Scope: Driver Support for Range Index currently proposes this API:
ClientEncryption.Encrypt() uses mongocrypt_ctx_explicit_encrypt_init. mongocrypt_ctx_explicit_encrypt_init currently supports encrypting the Match Expression or Aggregate Expression, and returns a BSON document. A separate initializer (perhaps named mongocrypt_ctx_explicit_encrypt_expression_init) can mirror the driver API. It can check for the required queryType=rangePreview. |
| Comments |
| Comment by Githook User [ 07/Dec/22 ] |
|
Author: {'name': 'Kevin Albertson', 'email': 'kevin.albertson@mongodb.com', 'username': 'kevinAlbs'}Message:
Co-authored-by: Ezra Chung <88335979+eramongodb@users.noreply.github.com> |