summaryrefslogtreecommitdiff
path: root/libmysqlpp/selectcommand.h
blob: 7ffff54ce74838423e8c58d11f74e96f3208c5dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#ifndef MY_SELECTCOMMAND_H
#define MY_SELECTCOMMAND_H

#include "../libdbpp/selectcommand.h"
#include "command.h"

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

			bool fetch();
			void execute();

		private:
			bool executed;
			Binds fields;
	};
}

#endif