Skip to content

Kirby 4.2.0

$sqlite->columns()

Returns a query to list the columns of a specified table; the query needs to return rows with a column name

$sqlite->columns(string $table): array

Parameters

Name Type Default Description
$table * string Table name

Return type

array

Parent class

Kirby\Database\Sql\Sqlite