3#include <StormByte/database/database.hxx> 
    4#include <StormByte/database/sqlite/preparedSTMT.hxx> 
    5#include <StormByte/database/sqlite/query.hxx> 
    6#include <StormByte/database/sqlite/exception.hxx> 
   18namespace StormByte::Database::SQLite {
 
   60            SQLite3(const std::filesystem::path& dbfile);
 
   71            void                                                Connect() override;
 
   76            void                                                Disconnect() override;
 
   82            const std::
string                                   LastError() const override;
 
   88            std::filesystem::path m_database_file;  
 
   99            void                                                EnableForeignKeys();
 
  104            void                                                InternalDisconnect();
 
  112            std::unique_ptr<
PreparedSTMT>                       InternalPrepare(const std::
string& name, const std::
string& query) override;
 
  119            std::unique_ptr<
Query>                              InternalQuery(const std::
string& query) override;
 
 
Prepared statement for SQLite.
Definition preparedSTMT.hxx:16
 
Represents a query to be executed in a SQLite3 database. In SQLite3 a query is a Prepared Statement s...
Definition query.hxx:17
 
SQLite3 & operator=(const SQLite3 &db)=delete
 
SQLite3(SQLite3 &&db) noexcept=default
 
virtual ~SQLite3() noexcept
 
SQLite3(const SQLite3 &db)=delete
 
SQLite3 & operator=(SQLite3 &&db) noexcept=default
 
Contains classes and functions for database operations.
 
Contains classes and functions for SQLite3 database operations.