diff --git a/lib/mongo/client_encryption.rb b/lib/mongo/client_encryption.rb index 105154b05e..3a38204d09 100644 --- a/lib/mongo/client_encryption.rb +++ b/lib/mongo/client_encryption.rb @@ -106,9 +106,9 @@ def create_data_key(kms_provider, options = {}) # provided, it defaults to a value of 0. Contention factor should be set # only if encryption algorithm is set to "Indexed". # @option options [ String | nil ] query_type Query type to be applied - # if encryption algorithm is set to "Indexed". Query type should be set - # only if encryption algorithm is set to "Indexed". The only allowed - # value is "equality". + # if encryption algorithm is set to "Indexed" or "Range". Query type + # should be set only if encryption algorithm is set to "Indexed" or + # "Range". Allowed values are "equality" and "range". # # @note The :key_id and :key_alt_name options are mutually exclusive. Only # one is required to perform explicit encryption.