diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-04-29 20:43:50 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2015-04-29 20:43:50 +0100 |
commit | 020ca153a7d45e2365a6e2d2c4361b15b2a4393f (patch) | |
tree | e24e57a7fd285fc345bb543db87f8a82731439f2 /libpqpp/selectcommand.h | |
parent | Pass include dirs to slice tools (diff) | |
download | libdbpp-postgresql-020ca153a7d45e2365a6e2d2c4361b15b2a4393f.tar.bz2 libdbpp-postgresql-020ca153a7d45e2365a6e2d2c4361b15b2a4393f.tar.xz libdbpp-postgresql-020ca153a7d45e2365a6e2d2c4361b15b2a4393f.zip |
Centralize all the column reference storage logic
Diffstat (limited to 'libpqpp/selectcommand.h')
-rw-r--r-- | libpqpp/selectcommand.h | 7 |
1 files changed, 1 insertions, 6 deletions
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<Column *> fields; - std::map<Glib::ustring, Column *> fieldsName; int nTuples, tuple; PGresult * execRes; |