![]() |
MySQL 9.3.0
Source Code Documentation
|
#include <query_changes_state.h>
Public Member Functions | |
QueryChangesState (QueryState *state) | |
![]() | |
QueryState (const std::optional< uint64_t > &router_id) | |
virtual void | query_state (MySQLSession *session) |
virtual bool | was_changed () const |
const DbState & | get_state () const |
![]() | |
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) |
Additional Inherited Members | |
![]() | |
using | DbState = mrs::database::entry::DbState |
![]() | |
using | MySQLSession = mysqlrouter::MySQLSession |
using | Row = MySQLSession::Row |
using | ResultRow = MySQLSession::ResultRow |
using | OnResultSetEnd = MySQLSession::OnResultSetEnd |
![]() | |
mysqlrouter::sqlstring | query_ |
std::optional< std::string > | sqlstate_ |
MYSQL_FIELD * | metadata_ {nullptr} |
unsigned | num_of_metadata_ {0} |
![]() | |
void | query_state_impl (MySQLSession *session, MySQLSession::Transaction *transaction) |
void | on_row (const ResultRow &r) override |
![]() | |
DbState | state_ |
bool | changed_ {true} |
bool | has_rows_ {false} |
std::optional< uint64_t > | router_id_ |
|
explicit |