$sql->createTable()
Creates a CREATE TABLE query
Parameters
Name | Type | Default | Description |
---|---|---|---|
$table * | string |
– | Table name |
$columns | array |
[ ] |
Array of column definition arrays, see Kirby\Database\Sql::createColumn() |
Return type
array