File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -514,6 +514,10 @@ MongoCrypt::MongoCrypt(const CallbackInfo& info)
514514 mongocrypt_setopt_bypass_query_analysis (_mongo_crypt.get ());
515515 }
516516
517+ if (options.Get (" rangeV2" ).ToBoolean ()) {
518+ mongocrypt_setopt_use_range_v2 (_mongo_crypt.get ());
519+ }
520+
517521 mongocrypt_setopt_use_need_kms_credentials_state (_mongo_crypt.get ());
518522
519523 // Initialize after all options are set.
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ export interface MongoCryptConstructor {
4040 cryptSharedLibSearchPaths ?: string [ ] ;
4141 cryptSharedLibPath ?: string ;
4242 bypassQueryAnalysis ?: boolean ;
43+ /** @experimental */
44+ rangeV2 ?: boolean ;
4345 } ) : MongoCrypt ;
4446 libmongocryptVersion : string ;
4547}
You can’t perform that action at this time.
0 commit comments