Class Statement

Class Documentation

class core::mysql::Statement

Public Functions

Statement(std::shared_ptr<MySQL> mysql, const std::string &statement)
std::string EscapeString(const std::string &str)
std::shared_ptr<ResultSet> ExecuteSync()
void Execute(const std::function<void(const MySQLError&, std::shared_ptr<ResultSet>)> &cb)
void ExecuteMultiStatement(const std::function<void(const MySQLError&, std::shared_ptr<std::vector<std::shared_ptr<ResultSet>>>)> &cb)
std::shared_ptr<ResultSet> operator()()
std::string GetStatement()

Friends

friend Statement &operator<<(Statement &stmt, const std::string &value)
friend Statement &operator<<(Statement &stmt, int value)