summaryrefslogtreecommitdiff
path: root/libpqpp/pq-prepared.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/pq-prepared.h')
-rw-r--r--libpqpp/pq-prepared.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/libpqpp/pq-prepared.h b/libpqpp/pq-prepared.h
new file mode 100644
index 0000000..1f6e028
--- /dev/null
+++ b/libpqpp/pq-prepared.h
@@ -0,0 +1,18 @@
+#ifndef stuff
+#define stuff
+
+#include "pq-command.h"
+
+namespace PQ {
+ class PreparedStatement : public Command {
+ protected:
+ PreparedStatement(Connection *, const std::string &, unsigned int);
+ virtual ~PreparedStatement() = default;
+
+ const char * prepare() const;
+ mutable const char * pstmt;
+ };
+}
+
+#endif
+