|
Lightweight 0.20251202.0
|
Holds the definition of a column in a SQL table as read from the database schema. More...
#include <SqlSchema.hpp>
Public Attributes | |
| std::string | name = {} |
| SqlColumnTypeDefinition | type = {} |
| std::string | dialectDependantTypeString = {} |
| bool | isNullable = true |
| bool | isUnique = false |
| size_t | size = 0 |
| unsigned short | decimalDigits = 0 |
| bool | isAutoIncrement = false |
| bool | isPrimaryKey = false |
| bool | isForeignKey = false |
| std::optional< ForeignKeyConstraint > | foreignKeyConstraint {} |
| std::string | defaultValue = {} |
Holds the definition of a column in a SQL table as read from the database schema.
Definition at line 98 of file SqlSchema.hpp.
| std::string Lightweight::SqlSchema::Column::name = {} |
Definition at line 100 of file SqlSchema.hpp.
| SqlColumnTypeDefinition Lightweight::SqlSchema::Column::type = {} |
Definition at line 101 of file SqlSchema.hpp.
| std::string Lightweight::SqlSchema::Column::dialectDependantTypeString = {} |
Definition at line 102 of file SqlSchema.hpp.
| bool Lightweight::SqlSchema::Column::isNullable = true |
Definition at line 103 of file SqlSchema.hpp.
| bool Lightweight::SqlSchema::Column::isUnique = false |
Definition at line 104 of file SqlSchema.hpp.
| size_t Lightweight::SqlSchema::Column::size = 0 |
Definition at line 105 of file SqlSchema.hpp.
| unsigned short Lightweight::SqlSchema::Column::decimalDigits = 0 |
Definition at line 106 of file SqlSchema.hpp.
| bool Lightweight::SqlSchema::Column::isAutoIncrement = false |
Definition at line 107 of file SqlSchema.hpp.
| bool Lightweight::SqlSchema::Column::isPrimaryKey = false |
Definition at line 108 of file SqlSchema.hpp.
| bool Lightweight::SqlSchema::Column::isForeignKey = false |
Definition at line 109 of file SqlSchema.hpp.
| std::optional<ForeignKeyConstraint> Lightweight::SqlSchema::Column::foreignKeyConstraint {} |
Definition at line 110 of file SqlSchema.hpp.
| std::string Lightweight::SqlSchema::Column::defaultValue = {} |
Definition at line 111 of file SqlSchema.hpp.