| 1229 | // Variadic arguments are the bind arguments if any, to replace '?' placeholders in the statement string |
| 1230 | template <typename... Args> |
| 1231 | boost::optional<double> execAndReturnFirstDouble(const std::string& statement, Args&&... args) const { |
| 1232 | boost::optional<double> result; |
| 1233 | if (m_impl) { |
| 1234 | result = m_impl->execAndReturnFirstDouble(statement, std::forward<Args>(args)...); |
| 1235 | } |
| 1236 | return result; |
| 1237 | } |
| 1238 | |
| 1239 | boost::optional<double> execAndReturnFirstDouble(const std::string& statement) const { |
| 1240 | // Forward to the variadic one. This one is for the ruby bindings |
no test coverage detected