Skip to content

Kirby 4.2.0

$database->createTable()

Creates a new table

$database->createTable(string $table, array $columns = [ ]): bool

Parameters

Name Type Default
$table * string
$columns array [ ]

Return type

bool

Parent class

Kirby\Database\Database