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)
514
514
mongocrypt_setopt_bypass_query_analysis (_mongo_crypt.get ());
515
515
}
516
516
517
+ if (options.Get (" rangeV2" ).ToBoolean ()) {
518
+ mongocrypt_setopt_use_range_v2 (_mongo_crypt.get ());
519
+ }
520
+
517
521
mongocrypt_setopt_use_need_kms_credentials_state (_mongo_crypt.get ());
518
522
519
523
// Initialize after all options are set.
Original file line number Diff line number Diff line change @@ -40,6 +40,8 @@ export interface MongoCryptConstructor {
40
40
cryptSharedLibSearchPaths ?: string [ ] ;
41
41
cryptSharedLibPath ?: string ;
42
42
bypassQueryAnalysis ?: boolean ;
43
+ /** @experimental */
44
+ rangeV2 ?: boolean ;
43
45
} ) : MongoCrypt ;
44
46
libmongocryptVersion : string ;
45
47
}
You can’t perform that action at this time.
0 commit comments