summaryrefslogtreecommitdiff
path: root/libpqpp/selectcommand.h
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2013-11-29 23:44:42 +0000
committerrandomdan <randomdan@localhost>2013-11-29 23:44:42 +0000
commit6bdb34223db0dd71dac329b67a5cd985efb8ebe8 (patch)
treef078a41f099b56d6f17dd81463335d9b45cd6989 /libpqpp/selectcommand.h
parentUse CXX from the environment (diff)
downloadlibdbpp-postgresql-6bdb34223db0dd71dac329b67a5cd985efb8ebe8.tar.bz2
libdbpp-postgresql-6bdb34223db0dd71dac329b67a5cd985efb8ebe8.tar.xz
libdbpp-postgresql-6bdb34223db0dd71dac329b67a5cd985efb8ebe8.zip
Fetch first rows in execute, allows population of fields before fetch()
Diffstat (limited to 'libpqpp/selectcommand.h')
-rw-r--r--libpqpp/selectcommand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpqpp/selectcommand.h b/libpqpp/selectcommand.h
index 507bf43..f4774d7 100644
--- a/libpqpp/selectcommand.h
+++ b/libpqpp/selectcommand.h
@@ -21,6 +21,7 @@ namespace PQ {
unsigned int columnCount() const;
unsigned int getOrdinal(const Glib::ustring&) const;
private:
+ void fetchTuples();
mutable bool executed;
mutable bool txOpened;
std::vector<Column *> fields;