summaryrefslogtreecommitdiff
path: root/libpqpp/pq-bulkselectcommand.h
blob: 459ee6147631746e642320167fa0122746b43c2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include "command_fwd.h"
#include "pq-command.h"
#include "pq-prepared.h"
#include "pq-selectbase.h"
#include <string>

namespace PQ {
	class Connection;

	class BulkSelectCommand : public SelectBase, public PreparedStatement {
	public:
		BulkSelectCommand(Connection *, const std::string & sql, const PQ::CommandOptionsCPtr & pqco,
				const DB::CommandOptionsCPtr &);

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