Iterator over the THD::bind_parameter_values collection.
More...
Iterator over the THD::bind_parameter_values collection.
Will only return the named ones and will skip past the unnamed ones.
◆ get_current()
const PS_PARAM * mysql_query_attributes::iterator::get_current |
( |
| ) |
const |
|
inline |
◆ get_thd()
THD * mysql_query_attributes::iterator::get_thd |
( |
| ) |
const |
|
inline |
◆ init()
bool mysql_query_attributes::iterator::init |
( |
MYSQL_THD |
hthd, |
|
|
const char * |
name |
|
) |
| |
|
inline |
Create a cursor.
The name is expected to be in UTF8mb4's primary collation. Sets the iterator to the first matching element (if any) or at eof.
- Parameters
-
hthd | the thread handle |
name | the query attribute name to look for and set the iterator to |
- Return values
-
false | : found |
true | : not found or error initializing |
skip the unnamed parameters
◆ next()
bool mysql_query_attributes::iterator::next |
( |
| ) |
|
|
inline |
◆ current
◆ ofs
unsigned long mysql_query_attributes::iterator::ofs {0} |
|
private |
◆ thd
THD* mysql_query_attributes::iterator::thd {nullptr} |
|
private |
The documentation for this class was generated from the following file: