summaryrefslogtreecommitdiff
path: root/src/mongo/db/query/indexability.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/query/indexability.h')
-rw-r--r--src/mongo/db/query/indexability.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/mongo/db/query/indexability.h b/src/mongo/db/query/indexability.h
index 6c8ce44bbb8..a68bf3f328a 100644
--- a/src/mongo/db/query/indexability.h
+++ b/src/mongo/db/query/indexability.h
@@ -131,15 +131,6 @@ public:
return isBoundsGeneratingNot(me) || nodeCanUseIndexOnOwnField(me);
}
- /**
- * Returns true if 'me' is of type EQ, GT, GTE, LT, or LTE.
- */
- static bool isEqualityOrInequality(const MatchExpression* me) {
- return (me->matchType() == MatchExpression::EQ || me->matchType() == MatchExpression::GT ||
- me->matchType() == MatchExpression::GTE || me->matchType() == MatchExpression::LT ||
- me->matchType() == MatchExpression::LTE);
- }
-
private:
/**
* Returns true if 'me' is "sargable" but is not a negation and