MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / toString

Method toString

src/storage/predicate/column_predicate.cpp:24–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22}
23
24std::string ColumnPredicateSet::toString() const {
25 if (predicates.empty()) {
26 return {};
27 }
28 auto result = predicates[0]->toString();
29 for (auto i = 1u; i < predicates.size(); ++i) {
30 result += std::format(" AND {}", predicates[i]->toString());
31 }
32 return result;
33}
34
35static bool isColumnRef(ExpressionType type) {
36 return type == ExpressionType::PROPERTY || type == ExpressionType::VARIABLE;

Callers 3

tryConvertToIsNullFunction · 0.45
tryConvertToIsNotNullFunction · 0.45

Calls 2

emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected