diff options
author | Dan Goodliffe <daniel.goodliffe@pressassociation.com> | 2017-01-03 15:03:05 +0000 |
---|---|---|
committer | Dan Goodliffe <daniel.goodliffe@pressassociation.com> | 2017-01-03 15:16:54 +0000 |
commit | bac96d1b62dde949412a998cb0c3231ad179d870 (patch) | |
tree | ea7a72996c508d2c62104fe3ce523453b8f57d6b /libpqpp/pq-bulkselectcommand.h | |
parent | Only set unlogged for mocked tables on server versions 9.5 and above (diff) | |
download | libdbpp-postgresql-bac96d1b62dde949412a998cb0c3231ad179d870.tar.bz2 libdbpp-postgresql-bac96d1b62dde949412a998cb0c3231ad179d870.tar.xz libdbpp-postgresql-bac96d1b62dde949412a998cb0c3231ad179d870.zip |
Refactor to remove some duplication
Diffstat (limited to 'libpqpp/pq-bulkselectcommand.h')
-rw-r--r-- | libpqpp/pq-bulkselectcommand.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libpqpp/pq-bulkselectcommand.h b/libpqpp/pq-bulkselectcommand.h index e4775d4..a54a5a4 100644 --- a/libpqpp/pq-bulkselectcommand.h +++ b/libpqpp/pq-bulkselectcommand.h @@ -1,7 +1,6 @@ #ifndef PQ_BULKSELECTCOMMAND_H #define PQ_BULKSELECTCOMMAND_H -#include <selectcommand.h> #include "pq-selectbase.h" #include "pq-prepared.h" #include <vector> @@ -10,10 +9,9 @@ namespace PQ { class Connection; class Column; - class BulkSelectCommand : public DB::SelectCommand, public SelectBase, public PreparedStatement { + class BulkSelectCommand : public SelectBase, public PreparedStatement { public: BulkSelectCommand(Connection *, const std::string & sql, unsigned int no, const DB::CommandOptions *); - virtual ~BulkSelectCommand(); bool fetch() override; void execute() override; |