summaryrefslogtreecommitdiff
path: root/libodbcpp/modifycommand.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2006-07-08 16:32:05 +0000
committerrandomdan <randomdan@localhost>2006-07-08 16:32:05 +0000
commit2a1fa15d8baa4eda37e17b2e9362f8bde17a939d (patch)
tree09386e52320b7c52a521ab56fc7553896e639dcd /libodbcpp/modifycommand.h
downloadlibdbpp-odbc-2a1fa15d8baa4eda37e17b2e9362f8bde17a939d.tar.bz2
libdbpp-odbc-2a1fa15d8baa4eda37e17b2e9362f8bde17a939d.tar.xz
libdbpp-odbc-2a1fa15d8baa4eda37e17b2e9362f8bde17a939d.zip
libcodbcpp initial release
Diffstat (limited to 'libodbcpp/modifycommand.h')
-rw-r--r--libodbcpp/modifycommand.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libodbcpp/modifycommand.h b/libodbcpp/modifycommand.h
new file mode 100644
index 0000000..ef480c9
--- /dev/null
+++ b/libodbcpp/modifycommand.h
@@ -0,0 +1,17 @@
+#ifndef ODBC_MODIFYCOMMAND_H
+#define ODBC_MODIFYCOMMAND_H
+
+#include "command.h"
+
+namespace ODBC {
+ class ModifyCommand : public Command {
+ public:
+ ModifyCommand(const Connection&, String sql);
+ ~ModifyCommand();
+ // Execute the command and return effected row count
+ unsigned int execute(bool allowNoChange = true);
+ };
+}
+
+#endif
+