From 93ad55c599cfe472913088a96c73173847e05a35 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 28 Jul 2026 10:05:07 +0000 Subject: [PATCH 1/2] Initial plan From 52d25c4b2e9865010c14e571ca9c220ca8199d16 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 28 Jul 2026 10:06:44 +0000 Subject: [PATCH 2/2] RUBY-3088 Update query_type doc to include Range algorithm --- lib/mongo/client_encryption.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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.