diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-04-24 15:43:07 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-04-24 15:43:07 +0100 |
commit | 2798caa6c8737c4d745ccfa69bd291689ddf4a93 (patch) | |
tree | d4f937ac2495e386a1c9b104fc3b13781381bcb5 /libpqpp/pq-selectbase.h | |
parent | Rename SelectCommand to CursorSelectCommand (diff) | |
download | libdbpp-postgresql-2798caa6c8737c4d745ccfa69bd291689ddf4a93.tar.bz2 libdbpp-postgresql-2798caa6c8737c4d745ccfa69bd291689ddf4a93.tar.xz libdbpp-postgresql-2798caa6c8737c4d745ccfa69bd291689ddf4a93.zip |
Introduce select base for different kinds of select
Diffstat (limited to 'libpqpp/pq-selectbase.h')
-rw-r--r-- | libpqpp/pq-selectbase.h | 20 |
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 + |