diff options
Diffstat (limited to 'libpqpp/pq-modifycommand.h')
-rw-r--r-- | libpqpp/pq-modifycommand.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libpqpp/pq-modifycommand.h b/libpqpp/pq-modifycommand.h index 79593a1..ef50261 100644 --- a/libpqpp/pq-modifycommand.h +++ b/libpqpp/pq-modifycommand.h @@ -2,20 +2,16 @@ #define PQ_MODIFYCOMMAND_H #include <modifycommand.h> -#include "pq-command.h" +#include "pq-prepared.h" #include "pq-connection.h" namespace PQ { - class ModifyCommand : public DB::ModifyCommand, public Command { + class ModifyCommand : public DB::ModifyCommand, public PreparedStatement { public: ModifyCommand(Connection *, const std::string & sql, unsigned int no); virtual ~ModifyCommand(); unsigned int execute(bool) override; - - private: - const char * prepare() const; - mutable const char * pstmt; }; } |