hemengze
hemengze
```php case self::COLUMNS: $this->columns = array(); foreach ($this->joins as &$join){ $join['columns'] = []; } break; ```
when work with paginator, sql like this: ```sql select count(*), b.id, b.created_at from A as a inner join B as b on A.bid = b.id limit 1; ```
@froschdesign thank you. When I'm join a table with columns, reset the columns, the join columns still exists ```php $select = (new (Select))->join('B b', 'a.bid = b.id', 'id, created_at'); $select->reset(Select::COLUMNS);...