summaryrefslogtreecommitdiff
path: root/libodbcpp/selectcommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'libodbcpp/selectcommand.h')
-rw-r--r--libodbcpp/selectcommand.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/libodbcpp/selectcommand.h b/libodbcpp/selectcommand.h
index 81f3ea9..c728ee1 100644
--- a/libodbcpp/selectcommand.h
+++ b/libodbcpp/selectcommand.h
@@ -7,19 +7,14 @@
namespace ODBC {
class Column;
class SelectCommand : public Command, public DB::SelectCommand {
- typedef std::vector<Column*> Columns;
public:
SelectCommand (const Connection &, const std::string & sql);
~SelectCommand();
bool fetch();
void execute();
- const DB::Column & operator[](unsigned int col) const;
- const DB::Column & operator[](const Glib::ustring &) const;
- unsigned int columnCount() const;
- unsigned int getOrdinal(const Glib::ustring &) const;
+
private:
bool fetch(SQLSMALLINT orientation = SQL_FETCH_NEXT, SQLLEN offset = 0);
- Columns columns;
};
}