MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / ExtBoolOperator

Class ExtBoolOperator

src/ExtOperator.h:46–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 REGISTER_COMMAND(ExtValueOperator, Op, name, toPredicate);
45
46struct ExtBoolOperator
47 : IDispatched<ExtBoolOperator, std::string, std::function<Reference<IPredicate>(bson::BSONObj const&)>> {
48 static Reference<IPredicate> toPredicate(std::string const& op, bson::BSONObj const& query) {
49 return dispatch(op)(query);
50 }
51};
52
53#define REGISTER_BOOL_OPERATOR(Op, Key) \
54 const char* Op::name = Key; \

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected