summaryrefslogtreecommitdiff
path: root/libpqpp/pq-bulkselectcommand.h
blob: a54a5a4c99392b307035628c32d31185daac7f9e (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
26
#ifndef PQ_BULKSELECTCOMMAND_H
#define PQ_BULKSELECTCOMMAND_H

#include "pq-selectbase.h"
#include "pq-prepared.h"
#include <vector>
#include <map>

namespace PQ {
	class Connection;
	class Column;
	class BulkSelectCommand : public SelectBase, public PreparedStatement {
		public:
			BulkSelectCommand(Connection *, const std::string & sql, unsigned int no, const DB::CommandOptions *);

			bool fetch() override;
			void execute() override;

		private:
			mutable bool executed;
	};
}

#endif