Hyper API for C++ 0.0.20027
Hyper client library for C++ applications
|
A Column of a table definition. More...
#include <TableDefinition.hpp>
Public Member Functions | |
const Name & | getName () const noexcept |
Returns the name of the column. | |
const SqlType & | getType () const noexcept |
Returns the type of the column. | |
Nullability | getNullability () const noexcept |
Returns the Nullability of the column. | |
const std::string & | getCollation () const noexcept |
Returns the collation of the column. | |
Column (Name name, SqlType type, Nullability nullability=Nullability::Nullable) | |
Creates a column. | |
Column (Name name, SqlType type, std::string collation, Nullability nullability=Nullability::Nullable) | |
Creates a column. | |
A Column of a table definition.
Definition at line 50 of file TableDefinition.hpp.
hyperapi::TableDefinition::Column::Column | ( | Name | name, |
SqlType | type, | ||
Nullability | nullability = Nullability::Nullable |
||
) |
Creates a column.
name | The name |
type | The type |
nullability | The nullability |
hyperapi::TableDefinition::Column::Column | ( | Name | name, |
SqlType | type, | ||
std::string | collation, | ||
Nullability | nullability = Nullability::Nullable |
||
) |
Creates a column.
name | The name |
type | The type |
collation | The collation |
nullability | The nullability |
|
inlinenoexcept |
Returns the collation of the column.
Definition at line 70 of file TableDefinition.hpp.
|
inlinenoexcept |
Returns the name of the column.
Definition at line 55 of file TableDefinition.hpp.
|
inlinenoexcept |
Returns the Nullability of the column.
Definition at line 65 of file TableDefinition.hpp.
|
inlinenoexcept |
Returns the type of the column.
Definition at line 60 of file TableDefinition.hpp.