pandemonium_engine/modules/database_mysql/mysql_query_result.h

22 lines
372 B
C++
Raw Normal View History

#ifndef MYSQL_QUERY_RESULT_H
#define MYSQL_QUERY_RESULT_H
#include "database/query_result.h"
#include <mysql.h>
class MysqlQueryResult : public QueryResult {
RCPP_OBJECT(MysqlQueryResult, QueryResult);
public:
bool next_row();
const char* get_cell(const int index);
MysqlQueryResult();
~MysqlQueryResult();
MYSQL_ROW current_row;
MYSQL_RES *result;
};
#endif