summaryrefslogtreecommitdiff
path: root/libpqpp/pq-column.h
blob: 99a37fb71657472cf2be9c2a014da6a01f5b6d8f (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 PG_COLUMN_H
#define PG_COLUMN_H

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

namespace PQ {
	class CursorSelectCommand;
	class Column : public DB::Column {
		public:
			Column(const CursorSelectCommand *, unsigned int field);

			bool isNull() const override;
			void apply(DB::HandleField &) const override;

		protected:
			const CursorSelectCommand * sc;
			const Oid oid;
	};
}

#endif