#include <type_info.h>
Public Methods | |
const char * | name () const |
Returns an implementation-defined name of the C++ type. | |
const char * | sql_name () const |
Returns the name of the SQL type. | |
const std::type_info & | c_type () const |
Returns the type_info for the C++ type associated with the SQL type. | |
const mysql_type_info | base_type () const |
Returns the type_info for the C++ type inside of the mysqlpp::Null type. | |
int | id () const |
Returns the ID of the SQL type. | |
bool | quote_q () const |
Returns true if the SQL type is of a type that needs to be quoted. | |
bool | escape_q () const |
Returns true if the SQL type is of a type that needs to be escaped. | |
bool | before (mysql_type_info &b) |
Provides a way to compare two types for sorting. |
Class to hold basic type information for mysqlpp::ColData.
|
Returns the type_info for the C++ type inside of the mysqlpp::Null type. Returns the type_info for the C++ type inside the mysqlpp::Null type. If the type is not Null then this is the same as c_type(). |
|
Provides a way to compare two types for sorting. Returns true if the SQL ID of this type is lower than that of another. Used by mysqlpp::type_info_cmp when comparing types. |
|
Returns the type_info for the C++ type associated with the SQL type. Returns the C++ type_info record corresponding to the SQL type. |
|
Returns true if the SQL type is of a type that needs to be escaped.
|
|
Returns the ID of the SQL type. Returns the ID number MySQL uses for this type. Note: Do not depend on the value of this ID as it may change between MySQL versions. |
|
Returns an implementation-defined name of the C++ type. Returns the name that would be returned by typeid().name() for the C++ type associated with the SQL type. |
|
Returns true if the SQL type is of a type that needs to be quoted.
|
|
Returns the name of the SQL type. Returns the SQL name for the type. |