summaryrefslogtreecommitdiff
path: root/libpqpp/pq-selectbase.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/pq-selectbase.h')
-rw-r--r--libpqpp/pq-selectbase.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/libpqpp/pq-selectbase.h b/libpqpp/pq-selectbase.h
new file mode 100644
index 0000000..217a9e7
--- /dev/null
+++ b/libpqpp/pq-selectbase.h
@@ -0,0 +1,20 @@
+#ifndef PQ_SELECTBASE_H
+#define PQ_SELECTBASE_H
+
+#include <libpq-fe.h>
+
+namespace PQ {
+ class SelectBase {
+ friend class Column;
+
+ protected:
+ SelectBase();
+ ~SelectBase() = default;
+
+ int nTuples, tuple;
+ PGresult * execRes;
+ };
+}
+
+#endif
+