| 87 | struct ExtValueOperatorLt { |
| 88 | static const char* name; |
| 89 | static Reference<IPredicate> toPredicate(std::string const& unencoded_path, bson::BSONElement const& element) { |
| 90 | DataValue max(element); |
| 91 | return any_predicate(unencoded_path, ref(new RangePredicate(DataValue::firstOfType(max), true, max, false))); |
| 92 | } |
| 93 | }; |
| 94 | REGISTER_VALUE_OPERATOR(ExtValueOperatorLt, "$lt"); |
| 95 |
nothing calls this directly
no test coverage detected