summaryrefslogtreecommitdiff
path: root/libpqpp/pq-prepared.h
blob: 0f745c9eb44d230b5bda9a5bed099352909fc667 (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 "pq-command.h"
#include "pq-connection.h"

namespace PQ {
	class PreparedStatement : public Command {
		protected:
			PreparedStatement(Connection *, const std::string &, unsigned int, const DB::CommandOptions *);
			virtual ~PreparedStatement() = default;

			const char * prepare() const;
			Connection::StatementHash hash;
			mutable const char * pstmt;
	};
}

#endif