mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2024-11-14 04:57:21 +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 |