MySQL 9.0.0
Source Code Documentation
rpl_mysql_connect.h File Reference
#include <string>
#include <vector>
#include "include/mysql.h"
#include "sql/rpl_mi.h"

Go to the source code of this file.

Classes

class  Mysql_connection
 Mysql client connection wrapper class to connect MySQL, execute SQL query and fetch query results. More...
 

Typedefs

using MYSQL_RES_VAL = std::vector< std::vector< std::string > >
 result of executed query in rows<cols<value>> format where rows and cols both are std::vector and value is std::string. More...
 
using MYSQL_RES_TUPLE = std::tuple< uint, std::vector< std::vector< std::string > > >
 std::tuple<error number, result> where first element of tuple is function return value and determines: 0 Successful !0 Error More...
 

Typedef Documentation

◆ MYSQL_RES_TUPLE

using MYSQL_RES_TUPLE = std::tuple<uint, std::vector<std::vector<std::string> >>

std::tuple<error number, result> where first element of tuple is function return value and determines: 0 Successful !0 Error

second element of tuple is result of executed query in rows<cols<value>> format where rows and cols both are std::vector and value is std::string.

◆ MYSQL_RES_VAL

using MYSQL_RES_VAL = std::vector<std::vector<std::string> >

result of executed query in rows<cols<value>> format where rows and cols both are std::vector and value is std::string.