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

Method getKnownParameters

src/main/prepared_statement.cpp:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80std::unordered_set<std::string> PreparedStatement::getKnownParameters() {
81 std::unordered_set<std::string> result;
82 for (auto& [k, _] : parameterMap) {
83 result.insert(k);
84 }
85 return result;
86}
87
88void PreparedStatement::updateParameter(const std::string& name, Value* value) {
89 DASSERT(parameterMap.contains(name));

Callers 2

bindParametersNoLockFunction · 0.80
prepareNoLockMethod · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected