#include <mysql.h>
#include <cstring>
#include <meteoio/dataClasses/Date.h>
#include <meteoio/IOUtils.h>
Go to the source code of this file.
Classes | |
class | SQL_FIELD |
Namespaces | |
namespace | mysql_wrp |
Enumerations | |
enum | mysql_wrp::MysqlOptions { mysql_wrp::COMPRESSION = 1 , mysql_wrp::ENCRYPTION = 1 << 1 } |
Functions | |
MYSQL * | mysql_wrp::initMysql (const std::string &mysqlhost, const std::string &mysqluser, const std::string &mysqlpass, const std::string &mysqldb, const unsigned int &options) |
MYSQL_STMT * | mysql_wrp::initStmt (MYSQL **mysql, const std::string &query, const long unsigned int &ref_param_count) |
void | mysql_wrp::bindParams (MYSQL_STMT **stmt, std::vector< SQL_FIELD > ¶ms_fields) |
void | mysql_wrp::bindResults (MYSQL_STMT **stmt, std::vector< SQL_FIELD > &result_fields) |
double | mysql_wrp::retrieveData (const SQL_FIELD &field, const unsigned int &conversion) |
Variables | |
static const int | MYSQL_STRING_SIZE = 50 |
|
static |