![]() |
MySQL 9.3.0
Source Code Documentation
|
execute a prepared statement. More...
#include <classic_protocol_message.h>
Classes | |
struct | ParamDef |
Public Types | |
using | string_type = std::conditional_t< Borrowed, std::string_view, std::string > |
using | value_type = std::optional< string_type > |
Public Member Functions | |
StmtExecute (uint32_t statement_id, classic_protocol::cursor::value_type flags, uint32_t iteration_count, bool new_params_bound, std::vector< ParamDef > types, std::vector< value_type > values) | |
construct a ExecuteStmt message. More... | |
uint32_t | statement_id () const noexcept |
classic_protocol::cursor::value_type | flags () const noexcept |
uint32_t | iteration_count () const noexcept |
bool | new_params_bound () const noexcept |
std::vector< ParamDef > | types () const |
std::vector< value_type > | values () const |
Private Attributes | |
uint32_t | statement_id_ |
classic_protocol::cursor::value_type | flags_ |
uint32_t | iteration_count_ |
bool | new_params_bound_ |
std::vector< ParamDef > | types_ |
std::vector< value_type > | values_ |
execute a prepared statement.
'values' raw bytes as encoded by the binary codec
using classic_protocol::borrowable::message::client::StmtExecute< Borrowed >::string_type = std::conditional_t<Borrowed, std::string_view, std::string> |
using classic_protocol::borrowable::message::client::StmtExecute< Borrowed >::value_type = std::optional<string_type> |
|
inline |
construct a ExecuteStmt message.
statement_id | statement id |
flags | cursor flags |
iteration_count | iteration_count |
new_params_bound | new params bound |
types | field types of the parameters |
values | binary-encoded values without length-bytes |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inline |
|
inline |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |