summaryrefslogtreecommitdiff
path: root/libodbcpp/odbc-modifycommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'libodbcpp/odbc-modifycommand.h')
-rw-r--r--libodbcpp/odbc-modifycommand.h18
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
+