We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74eab4d commit e35bd59Copy full SHA for e35bd59
addon/mongocrypt.cc
@@ -514,6 +514,10 @@ MongoCrypt::MongoCrypt(const CallbackInfo& info)
514
mongocrypt_setopt_bypass_query_analysis(_mongo_crypt.get());
515
}
516
517
+ if (options.Get("rangeV2").ToBoolean()) {
518
+ mongocrypt_setopt_use_range_v2(_mongo_crypt.get());
519
+ }
520
+
521
mongocrypt_setopt_use_need_kms_credentials_state(_mongo_crypt.get());
522
523
// Initialize after all options are set.
src/index.ts
@@ -40,6 +40,8 @@ export interface MongoCryptConstructor {
40
cryptSharedLibSearchPaths?: string[];
41
cryptSharedLibPath?: string;
42
bypassQueryAnalysis?: boolean;
43
+ /** @experimental */
44
+ rangeV2?: boolean;
45
}): MongoCrypt;
46
libmongocryptVersion: string;
47
0 commit comments