#ifndef MYGRATE_INPUT_MYSQLSTMT_H #define MYGRATE_INPUT_MYSQLSTMT_H #include "dbConn.h" #include "dbRecordSet.h" #include #include #include #include namespace MyGrate { class DbValue; } namespace MyGrate::Input { using StmtPtr = std::unique_ptr; class MySQLPrepStmt : public DbPrepStmt { public: MySQLPrepStmt(const char * const q, MYSQL * c); void execute(const std::initializer_list & vs) override; std::size_t rows() const override; RecordSetPtr recordSet() override; private: StmtPtr stmt; }; } #endif