MySQL 8.0.39
Source Code Documentation
client_query_attributes Class Reference

#include <client_query_attributes.h>

Public Member Functions

 client_query_attributes ()=default
 
 ~client_query_attributes ()
 
bool push_param (char *name, char *value)
 
int set_params (MYSQL *mysql)
 
void clear (MYSQL *mysql=nullptr)
 

Private Attributes

const char * names [max_count]
 
MYSQL_BIND values [max_count]
 
unsigned count {0}
 

Static Private Attributes

static constexpr int max_count = 32
 

Constructor & Destructor Documentation

◆ client_query_attributes()

client_query_attributes::client_query_attributes ( )
default

◆ ~client_query_attributes()

client_query_attributes::~client_query_attributes ( )
inline

Member Function Documentation

◆ clear()

void client_query_attributes::clear ( MYSQL mysql = nullptr)

◆ push_param()

bool client_query_attributes::push_param ( char *  name,
char *  value 
)

◆ set_params()

int client_query_attributes::set_params ( MYSQL mysql)

Member Data Documentation

◆ count

unsigned client_query_attributes::count {0}
private

◆ max_count

constexpr int client_query_attributes::max_count = 32
staticconstexprprivate

◆ names

const char* client_query_attributes::names[max_count]
private

◆ values

MYSQL_BIND client_query_attributes::values[max_count]
private

The documentation for this class was generated from the following files: