118 bool SilentQuery(
std::string_view query) noexcept override;
138 bool DoSilentQuery(
std::string_view query) noexcept override;
143 std::
string m_password;
144 std::
string m_dbname;
146 struct st_mysql *m_conn;
152 bool DoConnect() noexcept override;
157 void DoPreDisconnect() noexcept override;
162 void DoDisconnect() noexcept override;
Abstract backend.
Definition database.hxx:76
MariaDB / MySQL backend.
Definition mariadb.hxx:76
~MariaDB() noexcept override
Destructor.
MariaDB & operator=(const MariaDB &db)=delete
Copy assignment (deleted).
MariaDB & operator=(MariaDB &&db) noexcept
Move assignment that transfers the database connection.
MariaDB(const MariaDB &db)=delete
Copy constructor (deleted).
MariaDB(MariaDB &&db) noexcept
Move constructor that transfers the database connection.
MariaDB prepared statement.
Definition prepared_stmt.hxx:76
Expected< Rows, QueryException > ExpectedRows
Query result: Rows or QueryException.
Definition typedefs.hxx:82
IsolationLevel
Isolation for BeginTransaction().
Definition typedefs.hxx:99
Root namespace of the StormByte C++ suite.
#define STORMBYTE_DATABASE_PUBLIC
Definition visibility.h:54