summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document_source_match.cpp
diff options
context:
space:
mode:
authorReilly McBride <reilly.mcbride@mongodb.com>2022-08-05 20:25:47 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-08-05 21:35:30 +0000
commit94e93f4e95f7fa8ee169d493e50672b2c90bfc56 (patch)
treec7cdc28d3ca461800a96b8025b99c6afd3a4c8e7 /src/mongo/db/pipeline/document_source_match.cpp
parent27ab971f2ab621d9b1d9804644b1b88befbc15bd (diff)
downloadmongo-94e93f4e95f7fa8ee169d493e50672b2c90bfc56.tar.gz
SERVER-67803 Parse $encryptedBetween MatchExpression
Diffstat (limited to 'src/mongo/db/pipeline/document_source_match.cpp')
-rw-r--r--src/mongo/db/pipeline/document_source_match.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_match.cpp b/src/mongo/db/pipeline/document_source_match.cpp
index 038b38100c4..9a7ba486b30 100644
--- a/src/mongo/db/pipeline/document_source_match.cpp
+++ b/src/mongo/db/pipeline/document_source_match.cpp
@@ -266,6 +266,7 @@ Document redactSafePortionDollarOps(BSONObj expr) {
}
// These are never allowed
+ case PathAcceptingKeyword::ENCRYPTED_BETWEEN:
case PathAcceptingKeyword::EXISTS:
case PathAcceptingKeyword::GEO_INTERSECTS:
case PathAcceptingKeyword::GEO_NEAR: