summaryrefslogtreecommitdiff
path: root/libmysqlpp/my-modifycommand.h
blob: 862e88c36a3ff1a849b491bbda178a43d1de503f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef MY_MODIFYCOMMAND_H
#define MY_MODIFYCOMMAND_H

#include "my-command.h"
#include <modifycommand.h>
#include <string>

namespace MySQL {
	class Connection;
	class ModifyCommand : public DB::ModifyCommand, public Command {
	public:
		ModifyCommand(const Connection *, const std::string & sql);

		unsigned int execute(bool) override;

	private:
		void prepare() const;
	};
}

#endif