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 | 5886b037ecf017819406a11588b627d16e01e38f (patch) | |
tree | b73b1c435436e039c4f3eb402a78382c629920ed /libpqpp/pq-selectbase.h | |
parent | Rename SelectCommand to CursorSelectCommand (diff) | |
download | libdbpp-postgresql-5886b037ecf017819406a11588b627d16e01e38f.tar.bz2 libdbpp-postgresql-5886b037ecf017819406a11588b627d16e01e38f.tar.xz libdbpp-postgresql-5886b037ecf017819406a11588b627d16e01e38f.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 + |