File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -577,7 +577,9 @@ MongoCrypt::MongoCrypt(const CallbackInfo& info) : ObjectWrap(info) {
577
577
578
578
mongocrypt_setopt_retry_kms (mongo_crypt (), true );
579
579
580
- mongocrypt_setopt_enable_multiple_collinfo (mongo_crypt ());
580
+ if (options.Get (" enableMultipleCollinfo" ).ToBoolean ()) {
581
+ mongocrypt_setopt_enable_multiple_collinfo (mongo_crypt ());
582
+ }
581
583
582
584
// Initialize after all options are set.
583
585
if (!mongocrypt_init (mongo_crypt ())) {
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ type MongoCryptConstructorOptions = {
67
67
cryptSharedLibSearchPaths ?: string [ ] ;
68
68
cryptSharedLibPath ?: string ;
69
69
bypassQueryAnalysis ?: boolean ;
70
+ enableMultipleCollinfo ?: boolean ;
70
71
} ;
71
72
72
73
export interface MongoCryptConstructor {
You can’t perform that action at this time.
0 commit comments