| 67 | struct ExtValueOperatorGt { |
| 68 | static const char* name; |
| 69 | static Reference<IPredicate> toPredicate(std::string const& unencoded_path, bson::BSONElement const& element) { |
| 70 | DataValue min(element); |
| 71 | return any_predicate(unencoded_path, |
| 72 | ref(new RangePredicate(min, false, DataValue::firstOfnextType(min), false))); |
| 73 | } |
| 74 | }; |
| 75 | REGISTER_VALUE_OPERATOR(ExtValueOperatorGt, "$gt"); |
| 76 |
nothing calls this directly
no test coverage detected