SOLA
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
DatabaseTable Class Reference

Public Member Functions

 DatabaseTable (std::string name, std::vector< DatabaseColumnInfo > columns={}, std::string additional_constraints="")
 Constructor for a table definition.
 

Public Attributes

std::string name
 
std::vector< DatabaseColumnInfocolumns
 
std::string additional_constraints
 

Constructor & Destructor Documentation

◆ DatabaseTable()

DatabaseTable::DatabaseTable ( std::string  name,
std::vector< DatabaseColumnInfo columns = {},
std::string  additional_constraints = "" 
)
inlineexplicit

Constructor for a table definition.

Parameters
nameTable name
columnsColumn definitions of this table
additional_constraintsWill be appended at the end. Use this for unique of multiple columns or join definitions

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