MCPcopy Create free account
hub / github.com/NatLabRockies/OpenStudio / execute

Function execute

src/utilities/sql/SqlFile.hpp:1327–1333  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1325 // Variadic arguments are the bind arguments if any, to replace '?' placeholders in the statement string
1326 template <typename... Args>
1327 int execute(const std::string& statement, Args&&... args) {
1328 int result = 1; // SQLITE_ERROR
1329 if (m_impl) {
1330 result = m_impl->execute(statement, std::forward<Args>(args)...);
1331 }
1332 return result;
1333 }
1334
1335 int execute(const std::string& statement) {
1336 // Forward to the variadic one. This one is for the ruby bindings

Callers 2

execAndThrowOnErrorFunction · 0.70

Calls 1

executeMethod · 0.45

Tested by

no test coverage detected