$sql->columns()
Returns a query to list the columns of a specified table; the query needs to return rows with a column name
$sql->columns(string $table): array{query: string, bindings: array}
Parameters
| Name | Type | Default |
|---|---|---|
| $tablerequired | string |
no default value |
Return type
array{query: string, bindings: array}