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

Method operation

test/api/udf_test.cpp:431–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429
430struct ConditionalConcat {
431 static inline void operation(string_t& a, bool& b, string_t& c, string_t& result,
432 ValueVector& resultVector) {
433 // Concat a,c if b is true, otherwise concat c,a.
434 if (b) {
435 concat(a, c, result, resultVector);
436 } else {
437 concat(c, a, result, resultVector);
438 }
439 }
440};
441
442static void conditionalConcat(const std::vector<std::shared_ptr<common::ValueVector>>& parameters,

Callers

nothing calls this directly

Calls 1

concatFunction · 0.85

Tested by

no test coverage detected