MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
mrs::database::QueryAuditLogMaxId Class Reference

#include <query_audit_log_maxid.h>

Inheritance diagram for mrs::database::QueryAuditLogMaxId:
[legend]

Public Member Functions

 QueryAuditLogMaxId ()
 
uint64_t query_max_id (MySQLSession *session)
 
std::optional< uint64_t > query_max_id_or_null (MySQLSession *session)
 

Private Member Functions

void on_row (const ResultRow &r) override
 
- Private Member Functions inherited from mrs::database::QueryRaw
virtual ~QueryRaw ()=default
 
virtual void execute (MySQLSession *session)
 
virtual void query (MySQLSession *session, const std::string &q)
 
virtual void prepare_and_execute (MySQLSession *session, const std::string &q, std::vector< MYSQL_BIND > pt, const OnResultSetEnd &on_resultset_end)
 
std::unique_ptr< MySQLSession::ResultRowquery_one (MySQLSession *session)
 
std::unique_ptr< MySQLSession::ResultRowquery_one (MySQLSession *session, const std::string &q)
 
virtual void on_metadata (unsigned number, MYSQL_FIELD *fields)
 

Private Attributes

std::optional< uint64_t > max_
 
- Private Attributes inherited from mrs::database::QueryRaw
mysqlrouter::sqlstring query_
 
std::optional< std::string > sqlstate_
 
MYSQL_FIELDmetadata_ {nullptr}
 
unsigned num_of_metadata_ {0}
 

Additional Inherited Members

- Private Types inherited from mrs::database::QueryRaw
using MySQLSession = mysqlrouter::MySQLSession
 
using Row = MySQLSession::Row
 
using ResultRow = MySQLSession::ResultRow
 
using OnResultSetEnd = MySQLSession::OnResultSetEnd
 

Constructor & Destructor Documentation

◆ QueryAuditLogMaxId()

mrs::database::QueryAuditLogMaxId::QueryAuditLogMaxId ( )

Member Function Documentation

◆ on_row()

void mrs::database::QueryAuditLogMaxId::on_row ( const ResultRow r)
overrideprivatevirtual

Reimplemented from mrs::database::QueryRaw.

◆ query_max_id()

uint64_t mrs::database::QueryAuditLogMaxId::query_max_id ( MySQLSession session)

◆ query_max_id_or_null()

std::optional< uint64_t > mrs::database::QueryAuditLogMaxId::query_max_id_or_null ( MySQLSession session)

Member Data Documentation

◆ max_

std::optional<uint64_t> mrs::database::QueryAuditLogMaxId::max_
private

The documentation for this class was generated from the following files: