| 1199 | // Variadic arguments are the bind arguments if any, to replace '?' placeholders in the statement string |
| 1200 | template <typename... Args> |
| 1201 | boost::optional<std::string> execAndReturnFirstString(const std::string& statement, Args&&... args) const { |
| 1202 | if (m_db) { |
| 1203 | PreparedStatement stmt(statement, m_db, false, args...); |
| 1204 | return stmt.execAndReturnFirstString(); |
| 1205 | } |
| 1206 | return boost::none; |
| 1207 | } |
| 1208 | |
| 1209 | /// execute a statement and return the results (if any) in a vector of double |
| 1210 | // Variadic arguments are the bind arguments if any, to replace '?' placeholders in the statement string |
nothing calls this directly
no test coverage detected