| 24 | } |
| 25 | |
| 26 | static void runQuery(Connection& conn, const std::string& query) { |
| 27 | auto result = conn.query(query); |
| 28 | check(*result, query); |
| 29 | } |
| 30 | |
| 31 | static void checkPrepared(PreparedStatement& statement, const std::string& query) { |
| 32 | if (!statement.isSuccess()) { |