Skip to content

Commit dc1d87b

Browse files
add support for range v2
1 parent a195daa commit dc1d87b

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

Diff for: addon/mongocrypt.cc

+1-3
Original file line numberDiff line numberDiff line change
@@ -514,9 +514,7 @@ 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-
}
517+
mongocrypt_setopt_use_range_v2(_mongo_crypt.get());
520518

521519
mongocrypt_setopt_use_need_kms_credentials_state(_mongo_crypt.get());
522520

Diff for: src/index.ts

-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ export interface MongoCryptConstructor {
4040
cryptSharedLibSearchPaths?: string[];
4141
cryptSharedLibPath?: string;
4242
bypassQueryAnalysis?: boolean;
43-
/** @experimental */
44-
rangeV2?: boolean;
4543
}): MongoCrypt;
4644
libmongocryptVersion: string;
4745
}

0 commit comments

Comments
 (0)