diff options
Diffstat (limited to 'libodbcpp/odbc-selectcommand.h')
-rw-r--r-- | libodbcpp/odbc-selectcommand.h | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/libodbcpp/odbc-selectcommand.h b/libodbcpp/odbc-selectcommand.h index efa584e..1dbf798 100644 --- a/libodbcpp/odbc-selectcommand.h +++ b/libodbcpp/odbc-selectcommand.h @@ -1,25 +1,24 @@ #ifndef ODBC_SELECTCOMMAND_H #define ODBC_SELECTCOMMAND_H -#include <selectcommand.h> #include "odbc-command.h" +#include <selectcommand.h> namespace ODBC { class Column; class SelectCommand : public Command, public DB::SelectCommand { - public: - SelectCommand (const Connection &, const std::string & sql); - ~SelectCommand(); - bool fetch() override; - void execute() override; + public: + SelectCommand(const Connection &, const std::string & sql); + ~SelectCommand(); + bool fetch() override; + void execute() override; - private: - bool fetch(SQLSMALLINT orientation = SQL_FETCH_NEXT, SQLLEN offset = 0); - typedef std::shared_ptr<Column> ColumnPtr; - typedef std::set<Column *> Columns; - Columns largeColumns; + private: + bool fetch(SQLSMALLINT orientation = SQL_FETCH_NEXT, SQLLEN offset = 0); + typedef std::shared_ptr<Column> ColumnPtr; + typedef std::set<Column *> Columns; + Columns largeColumns; }; } #endif - |