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

Method toPredicate

src/ExtOperator.actor.cpp:243–245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241struct ExtBoolOperatorNor {
242 static const char* name;
243 static Reference<IPredicate> toPredicate(bson::BSONObj const& obj) {
244 return ref(new NotPredicate(ExtBoolOperator::toPredicate("$or", obj)));
245 }
246};
247REGISTER_BOOL_OPERATOR(ExtBoolOperatorNor, "$nor");
248

Callers

nothing calls this directly

Calls 1

refFunction · 0.85

Tested by

no test coverage detected