2020-12-02 00:43:46 +01:00
|
|
|
#ifndef QUERY_RESULT_H
|
|
|
|
#define QUERY_RESULT_H
|
|
|
|
|
2021-08-20 12:58:37 +02:00
|
|
|
#include <string>
|
|
|
|
|
2021-08-22 20:41:59 +02:00
|
|
|
#include "core/reference.h"
|
|
|
|
|
|
|
|
class QueryResult : public Reference {
|
2020-12-02 00:43:46 +01:00
|
|
|
public:
|
2021-08-20 12:58:37 +02:00
|
|
|
virtual bool next_row();
|
|
|
|
virtual const char *get_cell(const int index);
|
|
|
|
virtual const std::string get_cell_str(const int index);
|
|
|
|
virtual const bool get_cell_bool(const int index);
|
|
|
|
virtual const int get_cell_int(const int index);
|
|
|
|
|
|
|
|
virtual bool is_cell_null(const int index);
|
|
|
|
|
|
|
|
virtual int get_last_insert_rowid();
|
2020-12-02 00:43:46 +01:00
|
|
|
|
|
|
|
QueryResult();
|
|
|
|
virtual ~QueryResult();
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|