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

Method toString

src/binder/expression/expression_util.cpp:40–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40std::string ExpressionUtil::toString(const expression_vector& expressions) {
41 if (expressions.empty()) {
42 return std::string{};
43 }
44 auto result = expressions[0]->toString();
45 for (auto i = 1u; i < expressions.size(); ++i) {
46 result += "," + expressions[i]->toString();
47 }
48 return result;
49}
50
51std::string ExpressionUtil::toStringOrdered(const expression_vector& expressions) {
52 auto expressions_ = expressions;

Callers 10

castMethod · 0.45
toStringInternalMethod · 0.45
castMethod · 0.45
castMethod · 0.45
toStringInternalMethod · 0.45
toStringOrderedMethod · 0.45
validateDataTypeMethod · 0.45
getExpressionValMethod · 0.45
evaluateLiteralMethod · 0.45

Calls 3

toStringFunction · 0.50
emptyMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected