MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / add_param

Function add_param

tests/tools/bound.cpp:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void add_param(string &sp, string &sql, vector<int> &types, string name,
46 string extra1 = "", string extra2 = "")
47{
48 sp += comma + space + quote + at + name + quote;
49 sql += comma + space + extra1 + at + name + extra2;
50 types.push_back(CDB2_CSTRING);
51}
52
53int main(int argc, char *argv[])
54{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected