#ifndef MYGRATE_INPUT_MYSQLCONN_H #define MYGRATE_INPUT_MYSQLCONN_H #include #include #include #include namespace MyGrate { class DbValue; } namespace MyGrate::Input { class MySQLConn : public MYSQL, public DbConn { public: static constexpr auto paramMode {ParamMode::QMark}; MySQLConn(const char * const host, const char * const user, const char * const pass, unsigned short port); ~MySQLConn(); void query(const char * const) override; void query(const char * const q, const std::initializer_list &) override; DbPrepStmtPtr prepare(const char * const, std::size_t) override; }; } #endif