summaryrefslogtreecommitdiff
path: root/libodbcpp/odbc-modifycommand.h
blob: 21470829228610467084d0ac1beae2116d1920b9 (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 "odbc-command.h"
#include <modifycommand.h>
#include <string>

namespace ODBC {
	class Connection;
	class ModifyCommand : public Command, public DB::ModifyCommand {
	public:
		ModifyCommand(const Connection &, const std::string & sql);
		// Execute the command and return effected row count
		unsigned int execute(bool allowNoChange = true) override;
	};
}

#endif