You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mongo/options/autoencryptionoptions.go
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,7 @@ func (a *AutoEncryptionOptions) SetBypassAutoEncryption(bypass bool) *AutoEncryp
92
92
returna
93
93
}
94
94
95
-
// SetExtraOptions specifies a map of options to configure the mongocryptd process.
95
+
// SetExtraOptions specifies a map of options to configure the mongocryptd process or mongo_crypt shared library.
96
96
//
97
97
// Supported Extra Options
98
98
//
@@ -144,13 +144,16 @@ func (a *AutoEncryptionOptions) SetTLSConfig(tlsOpts map[string]*tls.Config) *Au
144
144
}
145
145
146
146
// SetEncryptedFieldsMap specifies a map from namespace to local EncryptedFieldsMap document.
147
+
// EncryptedFieldsMap is used for Queryable Encryption.
148
+
// Queryable Encryption is in Public Technical Preview. Queryable Encryption should not be used in production and is subject to backwards breaking changes.
// SetBypassQueryAnalysis specifies whether or not query analysis should be used for automatic encryption.
153
155
// Use this option when using explicit encryption with Queryable Encryption.
156
+
// Queryable Encryption is in Public Technical Preview. Queryable Encryption should not be used in production and is subject to backwards breaking changes.
Copy file name to clipboardExpand all lines: mongo/options/encryptoptions.go
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ import (
11
11
)
12
12
13
13
// These constants specify valid values for QueryType
14
+
// QueryType is used for Queryable Encryption.
15
+
// Queryable Encryption is in Public Technical Preview. Queryable Encryption should not be used in production and is subject to backwards breaking changes.
// Indexed and Unindexed are used for Queryable Encryption.
53
+
// Queryable Encryption is in Public Technical Preview. Queryable Encryption should not be used in production and is subject to backwards breaking changes.
// SetQueryType specifies the intended query type. It is only valid to set if algorithm is "Indexed".
56
60
// This should be one of the following:
57
61
// - equality
62
+
// QueryType is used for Queryable Encryption.
63
+
// Queryable Encryption is in Public Technical Preview. Queryable Encryption should not be used in production and is subject to backwards breaking changes.
// SetContentionFactor specifies the contention factor. It is only valid to set if algorithm is "Indexed".
70
+
// ContentionFactor is used for Queryable Encryption.
71
+
// Queryable Encryption is in Public Technical Preview. Queryable Encryption should not be used in production and is subject to backwards breaking changes.
0 commit comments