diff options
author | randomdan <randomdan@localhost> | 2010-09-16 00:01:56 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-09-16 00:01:56 +0000 |
commit | 7297648c278903589beebf6fbc7511e5c1ff421d (patch) | |
tree | a2686c7d458aad2c32bcb1ae61cb4e04702fd9d4 /libodbcpp/selectcommand.h | |
parent | Remove duplication in ODBC::Connection constructors (diff) | |
download | libdbpp-odbc-7297648c278903589beebf6fbc7511e5c1ff421d.tar.bz2 libdbpp-odbc-7297648c278903589beebf6fbc7511e5c1ff421d.tar.xz libdbpp-odbc-7297648c278903589beebf6fbc7511e5c1ff421d.zip |
Rewrite the whole of parameter and column binding almost from scratch
No more template rubbish, no more messy partial specialisation
Add copyless rebind of column to parameter
Changes in project2 to suit
Diffstat (limited to 'libodbcpp/selectcommand.h')
-rw-r--r-- | libodbcpp/selectcommand.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libodbcpp/selectcommand.h b/libodbcpp/selectcommand.h index c523f25..a0cd6e1 100644 --- a/libodbcpp/selectcommand.h +++ b/libodbcpp/selectcommand.h @@ -11,12 +11,12 @@ namespace ODBC { SelectCommand (const Connection &, const std::string & sql); ~SelectCommand(); bool fetch(SQLSMALLINT orientation = SQL_FETCH_NEXT, SQLLEN offset = 0); + void execute(); const Column & operator[](unsigned int col) const; const Column & operator[](const Glib::ustring &) const; unsigned int columnCount() const; unsigned int getOrdinal(const Glib::ustring &) const; private: - void execute(); Columns columns; }; } |