Skip to content

Kirby 5.0.4

$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
$tablerequired string no default value Table name

Return type

array

This method modifies the existing $sqlite object it is applied to and returns it again.

Parent class

Kirby\Database\Sql\Sqlite