$name
$name : string
Represent a table inside a database.
addColumn(\Gishiki\Database\Schema\Column $col) : \Gishiki\Database\Schema\Table
Add a column to the current table.
\Gishiki\Database\Schema\Column | $col | the column to be added |
A table with the same name already exists
a reference to the modified table
getColumns() : array<mixed,\Gishiki\Database\Schema\Column>
Return the list of columns inside the current table.
the list of columns
setName(string $name) : \Gishiki\Database\Schema\Table
Change the name of the current table.
string | $name | the name of the table |
the table name is invalid
a reference to the modified table