MeteoIODoc 20241222.207bde49
mysql_wrp Namespace Reference

Enumerations

enum  MysqlOptions { COMPRESSION = 1 , ENCRYPTION = 1 << 1 }
 

Functions

MYSQL * initMysql (const std::string &mysqlhost, const std::string &mysqluser, const std::string &mysqlpass, const std::string &mysqldb, const unsigned int &options)
 
MYSQL_STMT * initStmt (MYSQL **mysql, const std::string &query, const long unsigned int &ref_param_count)
 
void bindParams (MYSQL_STMT **stmt, std::vector< SQL_FIELD > &params_fields)
 
void bindResults (MYSQL_STMT **stmt, std::vector< SQL_FIELD > &result_fields)
 
double retrieveData (const SQL_FIELD &field, const unsigned int &conversion)
 

Enumeration Type Documentation

◆ MysqlOptions

Enumerator
COMPRESSION 
ENCRYPTION 

Function Documentation

◆ bindParams()

void mysql_wrp::bindParams ( MYSQL_STMT **  stmt,
std::vector< SQL_FIELD > &  params_fields 
)

◆ bindResults()

void mysql_wrp::bindResults ( MYSQL_STMT **  stmt,
std::vector< SQL_FIELD > &  result_fields 
)

◆ initMysql()

MYSQL * mysql_wrp::initMysql ( const std::string &  mysqlhost,
const std::string &  mysqluser,
const std::string &  mysqlpass,
const std::string &  mysqldb,
const unsigned int &  options 
)

◆ initStmt()

MYSQL_STMT * mysql_wrp::initStmt ( MYSQL **  mysql,
const std::string &  query,
const long unsigned int &  ref_param_count 
)

◆ retrieveData()

double mysql_wrp::retrieveData ( const SQL_FIELD field,
const unsigned int &  conversion 
)