Skip to content

Commit

Permalink
add support for range v2
Browse files Browse the repository at this point in the history
  • Loading branch information
baileympearson committed Jun 11, 2024
1 parent a195daa commit dc1d87b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions addon/mongocrypt.cc
Original file line number Diff line number Diff line change
Expand Up @@ -514,9 +514,7 @@ MongoCrypt::MongoCrypt(const CallbackInfo& info)
mongocrypt_setopt_bypass_query_analysis(_mongo_crypt.get());
}

if (options.Get("rangeV2").ToBoolean()) {
mongocrypt_setopt_use_range_v2(_mongo_crypt.get());
}
mongocrypt_setopt_use_range_v2(_mongo_crypt.get());

mongocrypt_setopt_use_need_kms_credentials_state(_mongo_crypt.get());

Expand Down
2 changes: 0 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ export interface MongoCryptConstructor {
cryptSharedLibSearchPaths?: string[];
cryptSharedLibPath?: string;
bypassQueryAnalysis?: boolean;
/** @experimental */
rangeV2?: boolean;
}): MongoCrypt;
libmongocryptVersion: string;
}
Expand Down

0 comments on commit dc1d87b

Please sign in to comment.