summaryrefslogtreecommitdiff
path: root/libpqpp/pq-prepared.h
blob: bf88f9ea10e3a0a9d302d35cf834ab03941d66cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#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 &);
		virtual ~PreparedStatement() = default;

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

#endif