| 1261 | // Variadic arguments are the bind arguments if any, to replace '?' placeholders in the statement string |
| 1262 | template <typename... Args> |
| 1263 | boost::optional<std::string> execAndReturnFirstString(const std::string& statement, Args&&... args) const { |
| 1264 | boost::optional<std::string> result; |
| 1265 | if (m_impl) { |
| 1266 | result = m_impl->execAndReturnFirstString(statement, std::forward<Args>(args)...); |
| 1267 | } |
| 1268 | return result; |
| 1269 | } |
| 1270 | |
| 1271 | boost::optional<std::string> execAndReturnFirstString(const std::string& statement) const { |
| 1272 | // Forward to the variadic one. This one is for the ruby bindings |
no test coverage detected