45#include <StormByte/safe/atomic.hxx>
73 void RecordSQLiteResult(
int result_code) noexcept;
SQLite prepared statement.
Definition prepared_stmt.hxx:73
SQLite3 backend.
Definition sqlite3.hxx:79
SQLite-specific counters layered on common database telemetry.
Definition telemetry.hxx:54
operator StormByte::Safe::String() const override
Flatten common and SQLite-specific metrics.
friend class SQLite3
Definition telemetry.hxx:71
std::uint64_t CorruptionErrors() const noexcept
SQLite corrupt or malformed database failures.
~Telemetry() noexcept override
Out-of-line virtual destructor for DLL-safe destruction.
std::uint64_t IoErrors() const noexcept
SQLite I/O failures.
friend class PreparedSTMT
Definition telemetry.hxx:72
std::uint64_t BusyErrors() const noexcept
SQLite BUSY/LOCKED failures.
std::uint64_t ConstraintErrors() const noexcept
SQLite constraint failures.
Telemetry()
Construct zeroed SQLite counters.
Thread-safe cumulative telemetry for one database connection.
Definition telemetry.hxx:130
STORMBYTE_DECLARE_MAYBE_SAFE(StormByte::Logger::Exception)
SQLite backend of the Database module.
BackendEvent
Shared error and warning categories for backend-specific telemetry.
Definition telemetry.hxx:88
Root namespace of the StormByte C++ suite.
#define STORMBYTE_DATABASE_PUBLIC
Definition visibility.h:54