| 77 | struct ExtValueOperatorGte { |
| 78 | static const char* name; |
| 79 | static Reference<IPredicate> toPredicate(std::string const& unencoded_path, bson::BSONElement const& element) { |
| 80 | DataValue min(element); |
| 81 | return any_predicate(unencoded_path, |
| 82 | ref(new RangePredicate(min, true, DataValue::firstOfnextType(min), false))); |
| 83 | } |
| 84 | }; |
| 85 | REGISTER_VALUE_OPERATOR(ExtValueOperatorGte, "$gte"); |
| 86 |
nothing calls this directly
no test coverage detected