Skip to content

Commit 20b4117

Browse files
authored
feat(NODE-5074): enable queryable encryption v2 (#606)
1 parent 0efe671 commit 20b4117

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mongocrypt.cc

+1
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,7 @@ MongoCrypt::MongoCrypt(const CallbackInfo& info)
479479
}
480480

481481
mongocrypt_setopt_use_need_kms_credentials_state(_mongo_crypt.get());
482+
mongocrypt_setopt_fle2v2(_mongo_crypt.get(), true);
482483

483484
// Initialize after all options are set.
484485
if (!mongocrypt_init(_mongo_crypt.get())) {

0 commit comments

Comments
 (0)