summaryrefslogtreecommitdiff
path: root/libpqpp/selectcommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'libpqpp/selectcommand.h')
-rw-r--r--libpqpp/selectcommand.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/libpqpp/selectcommand.h b/libpqpp/selectcommand.h
index daa2707..6506e5e 100644
--- a/libpqpp/selectcommand.h
+++ b/libpqpp/selectcommand.h
@@ -19,10 +19,17 @@ namespace PQ {
private:
void fetchTuples();
+ std::string mkdeclare() const;
+ std::string mkfetch() const;
+ std::string mkclose() const;
+
mutable bool executed;
mutable bool txOpened;
- int nTuples, tuple;
+ int nTuples, tuple, fTuples;
PGresult * execRes;
+ std::string s_declare;
+ std::string s_fetch;
+ std::string s_close;
friend class Column;
};