summaryrefslogtreecommitdiff
path: root/libpqpp/selectcommand.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2015-12-24 04:00:01 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2015-12-24 04:00:01 +0000
commit55dc8fa7bef00c0d382860b2f9b0245731db2bcb (patch)
treed68bc64bc6ba5e8c91f2d32f0c691b9be6998cb0 /libpqpp/selectcommand.h
parentUse parent glibmm (diff)
downloadlibdbpp-postgresql-55dc8fa7bef00c0d382860b2f9b0245731db2bcb.tar.bz2
libdbpp-postgresql-55dc8fa7bef00c0d382860b2f9b0245731db2bcb.tar.xz
libdbpp-postgresql-55dc8fa7bef00c0d382860b2f9b0245731db2bcb.zip
PostgreSQL files prefixed with pq-
Diffstat (limited to 'libpqpp/selectcommand.h')
-rw-r--r--libpqpp/selectcommand.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/libpqpp/selectcommand.h b/libpqpp/selectcommand.h
deleted file mode 100644
index e4acce7..0000000
--- a/libpqpp/selectcommand.h
+++ /dev/null
@@ -1,40 +0,0 @@
-#ifndef PQ_SELECTCOMMAND_H
-#define PQ_SELECTCOMMAND_H
-
-#include <selectcommand.h>
-#include "command.h"
-#include <vector>
-#include <map>
-
-namespace PQ {
- class Connection;
- class Column;
- class SelectCommand : public DB::SelectCommand, public Command {
- public:
- SelectCommand(const Connection *, const std::string & sql, unsigned int no);
- virtual ~SelectCommand();
-
- bool fetch();
- void execute();
-
- private:
- void fetchTuples();
- std::string mkdeclare() const;
- std::string mkfetch() const;
- std::string mkclose() const;
-
- mutable bool executed;
- mutable bool txOpened;
- int nTuples, tuple, fTuples;
- PGresult * execRes;
- std::string s_declare;
- std::string s_fetch;
- std::string s_close;
-
- friend class Column;
- };
-}
-
-#endif
-
-