MySQL 9.3.0
Source Code Documentation
helper::Column Struct Reference

#include <mysql_column.h>

Public Member Functions

 Column ()
 
 Column (const std::string &column_name, const char *t, bool primary=false, bool auto_increment=false, const bool p_is_bound=false)
 
 Column (const MYSQL_FIELD *field, const bool p_is_bound=false)
 

Public Attributes

std::string name
 
enum_field_types type {MYSQL_TYPE_NULL}
 
std::string type_txt
 
uint64_t length {0}
 
JsonType type_json {JsonType::kNull}
 
bool is_primary {false}
 
bool is_auto_increment {false}
 
bool is_bound {false}
 

Constructor & Destructor Documentation

◆ Column() [1/3]

helper::Column::Column ( )
inline

◆ Column() [2/3]

helper::Column::Column ( const std::string &  column_name,
const char *  t,
bool  primary = false,
bool  auto_increment = false,
const bool  p_is_bound = false 
)
inline

◆ Column() [3/3]

helper::Column::Column ( const MYSQL_FIELD field,
const bool  p_is_bound = false 
)
inlineexplicit

Member Data Documentation

◆ is_auto_increment

bool helper::Column::is_auto_increment {false}

◆ is_bound

bool helper::Column::is_bound {false}

◆ is_primary

bool helper::Column::is_primary {false}

◆ length

uint64_t helper::Column::length {0}

◆ name

std::string helper::Column::name

◆ type

enum_field_types helper::Column::type {MYSQL_TYPE_NULL}

◆ type_json

JsonType helper::Column::type_json {JsonType::kNull}

◆ type_txt

std::string helper::Column::type_txt

The documentation for this struct was generated from the following file: