MySQL 9.3.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
shcore::polyglot::database Namespace Reference

Namespaces

namespace  anonymous_namespace{session.cc}
 

Classes

class  bad_field
 
struct  Classic_query_attribute
 
class  Column
 These class represents a protocol independent Column The Resultset implementation for each protocol should make sure the metadata is represented on instances of this class. More...
 
class  DbResult
 
class  Field_names
 
struct  IQuery_attribute_value
 
class  Mem_row
 
class  Mutable_row
 A self-contained Row object like Row_copy, but can be created or modified programmatically. More...
 
struct  Query_attribute
 Normalized query attribute. More...
 
class  Query_attribute_store
 Cache for query attributes to be associated to the next user SQL executed. More...
 
class  Row
 
class  Row_by_name
 
class  Row_copy
 A self-contained Row object that owns its own storage, as opposed to mysql::Row or mysqlx::Row which are references to data owned by the underlying client library. More...
 
class  Row_ref_by_name
 
class  Session
 

Functions

std::string to_string (Type type)
 
Type string_to_type (const std::string &type)
 
std::string type_to_dbstring (Type type, uint32_t length)
 
Type dbstring_to_type (const std::string &data_type, const std::string &column_type)
 
std::string to_string (const Column &c)
 
bool is_string_type (Type type)
 
bool is_binary_type (Type type)
 
static const char * fieldtype2str (enum enum_field_types type)
 
static std::string fieldflags2str (unsigned int f)
 
template<class T >
static void free_result (T *result)
 

Function Documentation

◆ dbstring_to_type()

Type shcore::polyglot::database::dbstring_to_type ( const std::string &  data_type,
const std::string &  column_type 
)

◆ fieldflags2str()

static std::string shcore::polyglot::database::fieldflags2str ( unsigned int  f)
static

◆ fieldtype2str()

static const char * shcore::polyglot::database::fieldtype2str ( enum enum_field_types  type)
static

◆ free_result()

template<class T >
static void shcore::polyglot::database::free_result ( T result)
static

◆ is_binary_type()

bool shcore::polyglot::database::is_binary_type ( Type  type)
inline

◆ is_string_type()

bool shcore::polyglot::database::is_string_type ( Type  type)
inline

◆ string_to_type()

Type shcore::polyglot::database::string_to_type ( const std::string &  type)

◆ to_string() [1/2]

std::string shcore::polyglot::database::to_string ( const Column c)

◆ to_string() [2/2]

std::string shcore::polyglot::database::to_string ( Type  type)

◆ type_to_dbstring()

std::string shcore::polyglot::database::type_to_dbstring ( Type  type,
uint32_t  length 
)