From 6bdb34223db0dd71dac329b67a5cd985efb8ebe8 Mon Sep 17 00:00:00 2001 From: randomdan Date: Fri, 29 Nov 2013 23:44:42 +0000 Subject: Fetch first rows in execute, allows population of fields before fetch() --- libpqpp/selectcommand.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libpqpp/selectcommand.h') 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 fields; -- cgit v1.2.3