diff options
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 - |