![]() |
MySQL 9.5.0
Source Code Documentation
|
#include <query_audit_log_maxid.h>
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::ResultRow > | query_one (MySQLSession *session) |
| std::unique_ptr< MySQLSession::ResultRow > | query_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_FIELD * | metadata_ {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 |
| mrs::database::QueryAuditLogMaxId::QueryAuditLogMaxId | ( | ) |
|
overrideprivatevirtual |
Reimplemented from mrs::database::QueryRaw.
| uint64_t mrs::database::QueryAuditLogMaxId::query_max_id | ( | MySQLSession * | session | ) |
| std::optional< uint64_t > mrs::database::QueryAuditLogMaxId::query_max_id_or_null | ( | MySQLSession * | session | ) |
|
private |