operator MYSQL *() { return &mysql; }
public:
- bool
- query(const std::string &sql)
- {
- error.clear();
- if (mysql_real_query(&mysql, sql.c_str(), sql.size()))
- error.set(mysql_error(&mysql));
-
- return error;
- }
+ bool query(const std::string &sql);
bool
query(const std::stringstream &sql)