diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-11-18 16:55:31 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-11-18 16:55:31 +0000 |
commit | 0af57e2595922c9ee59d7cd489daf37a3550496c (patch) | |
tree | 73f8069e421e64222380fb3d30b2fb1277f80cd3 /libsqlitepp/sqlite-connection.h | |
parent | Fixes for tidy (diff) | |
download | libdbpp-sqlite-0af57e2595922c9ee59d7cd489daf37a3550496c.tar.bz2 libdbpp-sqlite-0af57e2595922c9ee59d7cd489daf37a3550496c.tar.xz libdbpp-sqlite-0af57e2595922c9ee59d7cd489daf37a3550496c.zip |
Clang format
Diffstat (limited to 'libsqlitepp/sqlite-connection.h')
-rw-r--r-- | libsqlitepp/sqlite-connection.h | 33 |
1 files changed, 16 insertions, 17 deletions
diff --git a/libsqlitepp/sqlite-connection.h b/libsqlitepp/sqlite-connection.h index ba8410d..0d77911 100644 --- a/libsqlitepp/sqlite-connection.h +++ b/libsqlitepp/sqlite-connection.h @@ -1,36 +1,35 @@ #ifndef SQLITE_CONNECTION_H #define SQLITE_CONNECTION_H -#include <connection.h> #include "sqlite-error.h" +#include <connection.h> #include <sqlite3.h> namespace SQLite { class ConnectionError : public virtual Error, public virtual DB::ConnectionError { - public: - ConnectionError(sqlite3 *); + public: + ConnectionError(sqlite3 *); }; class Connection : public DB::Connection { - public: - Connection(const std::string & info); - ~Connection(); + public: + Connection(const std::string & info); + ~Connection(); - void beginTxInt() override; - void commitTxInt() override; - void rollbackTxInt() override; - void ping() const override; - DB::BulkDeleteStyle bulkDeleteStyle() const override; - DB::BulkUpdateStyle bulkUpdateStyle() const override; + void beginTxInt() override; + void commitTxInt() override; + void rollbackTxInt() override; + void ping() const override; + DB::BulkDeleteStyle bulkDeleteStyle() const override; + DB::BulkUpdateStyle bulkUpdateStyle() const override; - DB::SelectCommandPtr select(const std::string & sql, const DB::CommandOptionsCPtr &) override; - DB::ModifyCommandPtr modify(const std::string & sql, const DB::CommandOptionsCPtr &) override; + DB::SelectCommandPtr select(const std::string & sql, const DB::CommandOptionsCPtr &) override; + DB::ModifyCommandPtr modify(const std::string & sql, const DB::CommandOptionsCPtr &) override; - int64_t insertId() override; + int64_t insertId() override; - sqlite3 * db; + sqlite3 * db; }; } #endif - |