summaryrefslogtreecommitdiff
path: root/libodbcpp/modifycommand.h
blob: df7478aaf1fb198930d865ef509dfbc5a7ea5027 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef ODBC_MODIFYCOMMAND_H
#define ODBC_MODIFYCOMMAND_H

#include "../libdbpp/modifycommand.h"
#include "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