$sql->selected()
Creates a columns definition from string or array
$sql->selected(string $table, array|string|null $columns = null): string
Parameters
| Name | Type | Default |
|---|---|---|
| $tablerequired | string |
no default value |
| $columns | arrayorstringornull |
null
|
Return type
string
This method modifies the existing $sql object it is applied to and returns it again.