| 1 | <?php |
||
| 7 | class SelectQuery extends HasWhereExpression implements QueryInterface |
||
| 8 | { |
||
| 9 | /** @var string */ |
||
| 10 | protected $table; |
||
| 11 | |||
| 12 | /** @var array */ |
||
| 13 | protected $columns = ['*']; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param string $table |
||
| 17 | * @param array $columns |
||
| 18 | */ |
||
| 19 | 6 | public function __construct($table, array $columns = []) |
|
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritdoc} |
||
| 27 | */ |
||
| 28 | 6 | public function toSql() |
|
| 44 | } |
||
| 45 |