diff options
author | randomdan <randomdan@localhost> | 2008-11-13 14:45:11 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2008-11-13 14:45:11 +0000 |
commit | efd292508070835781a0d92448a3661279dfd307 (patch) | |
tree | 0d2592bacfdb0cd159ebc5780dd69f86cc893af0 /libodbcpp/selectcommand.h | |
parent | Fix the C++ template errors (diff) | |
download | libdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.tar.bz2 libdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.tar.xz libdbpp-odbc-efd292508070835781a0d92448a3661279dfd307.zip |
Lots of little fixes
Diffstat (limited to 'libodbcpp/selectcommand.h')
-rw-r--r-- | libodbcpp/selectcommand.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libodbcpp/selectcommand.h b/libodbcpp/selectcommand.h index fee1afc..0294d07 100644 --- a/libodbcpp/selectcommand.h +++ b/libodbcpp/selectcommand.h @@ -11,7 +11,8 @@ namespace ODBC { SelectCommand (const Connection&, String sql); ~SelectCommand(); bool fetch(); - const Column& operator[](unsigned int col) const; + const Column & operator[](unsigned int col) const; + const Column & operator[](const String &) const; unsigned int columnCount() const; private: void execute(); |