![]() |
MySQL 9.3.0
Source Code Documentation
|
#include <query_changes_auth_app.h>
Public Types | |
using | Parent = QueryForAuthApps |
using | MySQLSession = mysqlrouter::MySQLSession |
using | Entries = typename Parent::Entries |
![]() | |
using | AuthApp = entry::AuthApp |
using | Entries = std::vector< AuthApp > |
Public Member Functions | |
QueryChangesAuthApp (const uint64_t last_audit_log_id) | |
void | query_entries (MySQLSession *session) override |
![]() | |
QueryEntriesAuthApp () | |
uint64_t | get_last_update () override |
void | query_entries (MySQLSession *session) override |
const Entries & | get_entries () override |
Private Member Functions | |
void | query_auth_entries (MySQLSession *session, Entries *out, const std::string &table_name, const entry::UniversalId &id) |
std::string | build_query (std::string table_name, const entry::UniversalId &id) |
Private Attributes | |
std::set< entry::UniversalId > | entries_fetched |
Additional Inherited Members | |
![]() | |
using | MySQLSession = mysqlrouter::MySQLSession |
using | Row = MySQLSession::Row |
using | ResultRow = MySQLSession::ResultRow |
using | OnResultSetEnd = MySQLSession::OnResultSetEnd |
![]() | |
void | on_row (const ResultRow &r) override |
![]() | |
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) |
![]() | |
Entries | entries_ |
uint64_t | audit_log_id_ {0} |
![]() | |
mysqlrouter::sqlstring | query_ |
std::optional< std::string > | sqlstate_ |
MYSQL_FIELD * | metadata_ {nullptr} |
unsigned | num_of_metadata_ {0} |
using mrs::database::QueryChangesAuthApp< QueryForAuthApps, version >::Entries = typename Parent::Entries |
using mrs::database::QueryChangesAuthApp< QueryForAuthApps, version >::MySQLSession = mysqlrouter::MySQLSession |
using mrs::database::QueryChangesAuthApp< QueryForAuthApps, version >::Parent = QueryForAuthApps |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineoverridevirtual |
Implements mrs::database::QueryEntriesAuthApp.
|
private |