mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-24 12:47:12 +01:00
22 lines
372 B
C++
22 lines
372 B
C++
|
#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
|