blob: 804535d425eccacb215a9e273fb35647680df220 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef PQ_SELECTBASE_H
#define PQ_SELECTBASE_H
#include <libpq-fe.h>
#include <selectcommand.h>
namespace PQ {
class CommandOptions;
class SelectBase : public DB::SelectCommand {
friend class Column;
protected:
SelectBase(const std::string & sql, const PQ::CommandOptions * pqco);
~SelectBase();
void createColumns(PGresult *);
int nTuples, tuple;
PGresult * execRes;
bool binary;
};
}
#endif
|