From 55dc8fa7bef00c0d382860b2f9b0245731db2bcb Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 24 Dec 2015 04:00:01 +0000 Subject: PostgreSQL files prefixed with pq- --- libpqpp/pq-modifycommand.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 libpqpp/pq-modifycommand.h (limited to 'libpqpp/pq-modifycommand.h') diff --git a/libpqpp/pq-modifycommand.h b/libpqpp/pq-modifycommand.h new file mode 100644 index 0000000..d29cf5e --- /dev/null +++ b/libpqpp/pq-modifycommand.h @@ -0,0 +1,25 @@ +#ifndef PQ_MODIFYCOMMAND_H +#define PQ_MODIFYCOMMAND_H + +#include +#include "pq-command.h" + +namespace PQ { + class Connection; + class ModifyCommand : public DB::ModifyCommand, public Command { + public: + ModifyCommand(const Connection *, const std::string & sql, unsigned int no); + virtual ~ModifyCommand(); + + unsigned int execute(bool); + + private: + void prepare() const; + mutable bool prepared; + }; +} + +#endif + + + -- cgit v1.2.3