$mysql->selected()
Creates a columns definition from string or array
$mysql->selected(string $table, array|string|null $columns = null): string
Parameters
Name | Type | Default |
---|---|---|
$tablerequired | string |
no default value |
$columns | array orstring ornull |
null
|
Return type
string
This method modifies the existing $mysql
object it is applied to and returns it again.
Parent class
Kirby\Database\Sql\Mysql
inherited from Kirby\Database\Sql