diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-24 04:08:56 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-12-24 04:08:56 +0000 |
commit | 63d9cbb434ec4f6e828083b99d638127cfce7a95 (patch) | |
tree | 2dfcf95372467a9119147265fccfba058c617b8a /libodbcpp/odbc-modifycommand.h | |
parent | Use parent glibmm (diff) | |
download | libdbpp-odbc-63d9cbb434ec4f6e828083b99d638127cfce7a95.tar.bz2 libdbpp-odbc-63d9cbb434ec4f6e828083b99d638127cfce7a95.tar.xz libdbpp-odbc-63d9cbb434ec4f6e828083b99d638127cfce7a95.zip |
ODBC files prefixed with odbc-
Diffstat (limited to 'libodbcpp/odbc-modifycommand.h')
-rw-r--r-- | libodbcpp/odbc-modifycommand.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libodbcpp/odbc-modifycommand.h b/libodbcpp/odbc-modifycommand.h new file mode 100644 index 0000000..5b2a4f4 --- /dev/null +++ b/libodbcpp/odbc-modifycommand.h @@ -0,0 +1,18 @@ +#ifndef ODBC_MODIFYCOMMAND_H +#define ODBC_MODIFYCOMMAND_H + +#include <modifycommand.h> +#include "odbc-command.h" + +namespace ODBC { + class ModifyCommand : public Command, public DB::ModifyCommand { + public: + ModifyCommand(const Connection &, const std::string & sql); + ~ModifyCommand(); + // Execute the command and return effected row count + unsigned int execute(bool allowNoChange = true); + }; +} + +#endif + |