summaryrefslogtreecommitdiff
path: root/src/mongo/crypto/encryption_fields_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/crypto/encryption_fields_util.h')
-rw-r--r--src/mongo/crypto/encryption_fields_util.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/crypto/encryption_fields_util.h b/src/mongo/crypto/encryption_fields_util.h
index e53e1ff445a..a06a75fc5fa 100644
--- a/src/mongo/crypto/encryption_fields_util.h
+++ b/src/mongo/crypto/encryption_fields_util.h
@@ -76,6 +76,11 @@ inline bool isFLE2EqualityIndexedSupportedType(BSONType type) {
}
}
+
+inline bool isFLE2RangeIndexedSupportedType(BSONType type) {
+ return true;
+}
+
inline bool isFLE2UnindexedSupportedType(BSONType type) {
switch (type) {
case BinData: