|
Lightweight 0.20260303.0
|
Holds the definition of a table in a SQL database as read from the database schema. More...
#include <SqlSchema.hpp>
Public Attributes | |
| std::string | schema |
| The schema the table belongs to. | |
| std::string | name |
| The name of the table. | |
| std::vector< Column > | columns {} |
| The columns of the table. | |
| std::vector< ForeignKeyConstraint > | foreignKeys {} |
| The foreign keys of the table. | |
| std::vector< ForeignKeyConstraint > | externalForeignKeys {} |
| The foreign keys of other tables that reference this table. | |
| std::vector< std::string > | primaryKeys {} |
| The primary keys of the table. | |
| std::vector< IndexDefinition > | indexes {} |
| The indexes on the table (excluding primary key index). | |
Holds the definition of a table in a SQL database as read from the database schema.
Definition at line 198 of file SqlSchema.hpp.
| std::string Lightweight::SqlSchema::Table::schema |
The schema the table belongs to.
Definition at line 203 of file SqlSchema.hpp.
| std::string Lightweight::SqlSchema::Table::name |
The name of the table.
Definition at line 206 of file SqlSchema.hpp.
| std::vector<Column> Lightweight::SqlSchema::Table::columns {} |
The columns of the table.
Definition at line 209 of file SqlSchema.hpp.
| std::vector<ForeignKeyConstraint> Lightweight::SqlSchema::Table::foreignKeys {} |
The foreign keys of the table.
Definition at line 212 of file SqlSchema.hpp.
| std::vector<ForeignKeyConstraint> Lightweight::SqlSchema::Table::externalForeignKeys {} |
The foreign keys of other tables that reference this table.
Definition at line 215 of file SqlSchema.hpp.
| std::vector<std::string> Lightweight::SqlSchema::Table::primaryKeys {} |
The primary keys of the table.
Definition at line 218 of file SqlSchema.hpp.
| std::vector<IndexDefinition> Lightweight::SqlSchema::Table::indexes {} |
The indexes on the table (excluding primary key index).
Definition at line 221 of file SqlSchema.hpp.