summaryrefslogtreecommitdiff
path: root/libpqpp/pq-prepared.h
blob: ddddf0164f41b0be40316568178ae12ea3a41e9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef stuff
#define stuff

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

namespace PQ {
	class Connection;

	class PreparedStatement : public Command {
	protected:
		PreparedStatement(Connection *, const std::string &, const DB::CommandOptionsCPtr &);
		~PreparedStatement() override = default;

		const char * prepare() const;
		mutable const char * pstmt;
	};
}

#endif