MCPcopy Create free account
hub / github.com/activeloopai/deeplake / addParameter

Method addParameter

cpp/3rd_party/sql-parser/src/SQLParserResult.cpp:75–78  ·  view source on GitHub ↗

Does NOT take ownership.

Source from the content-addressed store, hash-verified

73
74// Does NOT take ownership.
75void SQLParserResult::addParameter(Expr* parameter) {
76 parameters_.push_back(parameter);
77 std::sort(parameters_.begin(), parameters_.end(), [](const Expr* a, const Expr* b) { return a->ival < b->ival; });
78}
79
80const std::vector<Expr*>& SQLParserResult::parameters() { return parameters_; }
81

Callers 1

yyparseFunction · 0.80

Calls 3

push_backMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected