Skip to content

Kirby 4.4.1

$sql->selected()

Creates a columns definition from string or array

$sql->selected(string $table, array|string|null $columns = null): string

Parameters

Name Type Default
$table * string
$columns array|string|null null

Return type

string

Parent class

Kirby\Database\Sql