2#ifndef RDBMODEL_MYSQLRESULTS_H
3#define RDBMODEL_MYSQLRESULTS_H
11 class MysqlConnection;
23 virtual unsigned int getNRows()
const;
28 virtual bool getRow(std::vector<std::string>& fields,
unsigned int i = 0,
39 virtual bool getRowPtrs(std::vector<std::string*>& fieldPtrs,
40 unsigned int i = 0,
bool clear=
true);
42 virtual bool getRowCon(
char* par,
unsigned long* treesize,
unsigned int *runFrm,
43 unsigned int *runTo,
unsigned int i = 0,
bool clear=
true);
struct st_mysql_res MYSQL_RES
virtual bool getRow(std::vector< std::string > &fields, unsigned int i=0, bool clear=true)
virtual bool getRowCon(char *par, unsigned long *treesize, unsigned int *runFrm, unsigned int *runTo, unsigned int i=0, bool clear=true)
virtual unsigned int getNRows() const
Return number of rows in results.
virtual bool getRowPtrs(std::vector< std::string * > &fieldPtrs, unsigned int i=0, bool clear=true)