summaryrefslogtreecommitdiff
path: root/libpqpp/pq-selectbase.h
blob: a6b199a6b6eeebd8d8691ba9e54b6dab60dcad06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef PQ_SELECTBASE_H
#define PQ_SELECTBASE_H

#include <libpq-fe.h>
#include <selectcommand.h>

namespace PQ {
	class SelectBase : public DB::SelectCommand {
		friend class Column;

		protected:
			SelectBase(const std::string & sql);
			~SelectBase();

			void createColumns(PGresult *);

			int nTuples, tuple;
			PGresult * execRes;
	};
}

#endif