Skip to content

Kirby 3.8.4

$sqlite->createTable()

Creates a CREATE TABLE query

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

Parameters

Name Type Default Description
$table * string Table name
$columns array [ ] Array of column definition arrays, see Kirby\Database\Sql::createColumn()

Return type

array

Parent class

Kirby\Database\Sql\Sqlite