MySQL 8.4.2
Source Code Documentation
|
#include <string>
#include <system_error>
#include "mysql/harness/stdx/expected.h"
#include "mysqlrouter/classic_protocol_message.h"
Go to the source code of this file.
Functions | |
stdx::expected< std::string, std::error_code > | param_to_string (const classic_protocol::borrowed::message::client::Query::Param ¶m) |
convert any param-type into a human readable string. More... | |
stdx::expected< uint64_t, std::error_code > | param_to_number (const classic_protocol::borrowed::message::client::Query::Param ¶m) |
convert a numeric type into an unsigned integer. More... | |
stdx::expected< std::string, std::error_code > | param_as_string (const classic_protocol::borrowed::message::client::Query::Param ¶m) |
convert a string-typed query param to a std::string. More... | |
stdx::expected< std::string, std::error_code > param_as_string | ( | const classic_protocol::borrowed::message::client::Query::Param & | param | ) |
convert a string-typed query param to a std::string.
are string-types.
param | parameter of a query attribute |
stdx::expected< uint64_t, std::error_code > param_to_number | ( | const classic_protocol::borrowed::message::client::Query::Param & | param | ) |
convert a numeric type into an unsigned integer.
stdx::expected< std::string, std::error_code > param_to_string | ( | const classic_protocol::borrowed::message::client::Query::Param & | param | ) |
convert any param-type into a human readable string.