| 1245 | // Variadic arguments are the bind arguments if any, to replace '?' placeholders in the statement string |
| 1246 | template <typename... Args> |
| 1247 | boost::optional<int> execAndReturnFirstInt(const std::string& statement, Args&&... args) const { |
| 1248 | boost::optional<int> result; |
| 1249 | if (m_impl) { |
| 1250 | result = m_impl->execAndReturnFirstInt(statement, std::forward<Args>(args)...); |
| 1251 | } |
| 1252 | return result; |
| 1253 | } |
| 1254 | |
| 1255 | boost::optional<int> execAndReturnFirstInt(const std::string& statement) const { |
| 1256 | // Forward to the variadic one. This one is for the ruby bindings |
no test coverage detected