From b177499d168936da9e64a964beb22f6057880703 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 24 Dec 2015 04:00:01 +0000 Subject: PostgreSQL files prefixed with pq- --- libpqpp/pq-column.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 libpqpp/pq-column.h (limited to 'libpqpp/pq-column.h') diff --git a/libpqpp/pq-column.h b/libpqpp/pq-column.h new file mode 100644 index 0000000..5980763 --- /dev/null +++ b/libpqpp/pq-column.h @@ -0,0 +1,23 @@ +#ifndef PG_COLUMN_H +#define PG_COLUMN_H + +#include +#include + +namespace PQ { + class SelectCommand; + class Column : public DB::Column { + public: + Column(const SelectCommand *, unsigned int field); + + bool isNull() const; + void apply(DB::HandleField &) const; + void rebind(DB::Command *, unsigned int) const; + protected: + const SelectCommand * sc; + const Oid oid; + }; +} + +#endif + -- cgit v1.2.3