Skip to content

Kirby 4.5.0

$mysql->selected()

Creates a columns definition from string or array

$mysql->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\Mysql inherited from Kirby\Database\Sql