![]() |
MySQL 9.0.0
Source Code Documentation
|
#include <classic_protocol_message.h>
Public Types | |
using | string_type = std::conditional_t< Borrowed, std::string_view, std::string > |
Public Member Functions | |
constexpr | ListFields (string_type table_name, string_type wildcard) |
list columns of a table. More... | |
constexpr string_type | table_name () const |
constexpr string_type | wildcard () const |
Private Attributes | |
string_type | table_name_ |
string_type | wildcard_ |
using classic_protocol::borrowable::message::client::ListFields< Borrowed >::string_type = std::conditional_t<Borrowed, std::string_view, std::string> |
|
inlineconstexpr |
list columns of a table.
If 'wildcard' is empty the server will execute:
SHOW COLUMNS FROM table_name
Otherwise:
SHOW COLUMNS FROM table_name LIKE wildcard
table_name | name of table to list |
wildcard | wildcard |
|
inlineconstexpr |
|
inlineconstexpr |
|
private |
|
private |