From 720eb9e16eab13c2b5b538116da29bf43e25c450 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Wed, 29 Apr 2015 20:43:50 +0100 Subject: Centralize all the column reference storage logic --- libpqpp/selectcommand.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'libpqpp/selectcommand.h') diff --git a/libpqpp/selectcommand.h b/libpqpp/selectcommand.h index f4774d7..daa2707 100644 --- a/libpqpp/selectcommand.h +++ b/libpqpp/selectcommand.h @@ -16,16 +16,11 @@ namespace PQ { bool fetch(); void execute(); - const DB::Column& operator[](unsigned int) const; - const DB::Column& operator[](const Glib::ustring&) const; - unsigned int columnCount() const; - unsigned int getOrdinal(const Glib::ustring&) const; + private: void fetchTuples(); mutable bool executed; mutable bool txOpened; - std::vector fields; - std::map fieldsName; int nTuples, tuple; PGresult * execRes; -- cgit v1.2.3