示例#1
0
 /**
  * {@inheritdoc}
  */
 public function join($table, $column1 = null, $operator = null, $column2 = null, $type = 'INNER', $raw = false)
 {
     if (empty($this->joins) && $this->columns === ['*']) {
         $this->select([$this->model->getTable() . '.*']);
     }
     return parent::join($table, $column1, $operator, $column2, $type, $raw);
 }