mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +01:00
20 lines
331 B
C++
20 lines
331 B
C++
#ifndef MYSQL_QUERY_RESULT_H
|
|
#define MYSQL_QUERY_RESULT_H
|
|
|
|
#include "core/database/query_result.h"
|
|
|
|
#include <mysql.h>
|
|
|
|
class MysqlQueryResult : public QueryResult {
|
|
public:
|
|
bool next_row();
|
|
const char* get_cell(const int index);
|
|
|
|
MysqlQueryResult();
|
|
~MysqlQueryResult();
|
|
|
|
MYSQL_ROW current_row;
|
|
MYSQL_RES *result;
|
|
};
|
|
|
|
#endif |