| 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 |
no test coverage detected