summaryrefslogtreecommitdiff
path: root/libodbcpp/odbc-selectcommand.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2020-11-18 16:55:04 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2020-11-18 16:55:04 +0000
commit22e0839fd6912b888b7c3c790573aef1f5df3936 (patch)
tree5e88e4de68024326b2c59b163dfc1b74a5d4c7f3 /libodbcpp/odbc-selectcommand.h
parentFixes for tidy (diff)
downloadlibdbpp-odbc-22e0839fd6912b888b7c3c790573aef1f5df3936.tar.bz2
libdbpp-odbc-22e0839fd6912b888b7c3c790573aef1f5df3936.tar.xz
libdbpp-odbc-22e0839fd6912b888b7c3c790573aef1f5df3936.zip
Clang format
Diffstat (limited to 'libodbcpp/odbc-selectcommand.h')
-rw-r--r--libodbcpp/odbc-selectcommand.h23
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
-