src/SQL/ColumnExpression.php
public function columns(array $columns): self
    {
        foreach ($columns as $name => $alias) {
            if (!is_string($name)) {
                $this->column($alias, null);
                continue;
            }
            if (is_string($alias)) {
                $this->column($name, $alias);
            } else {
                $this->column($alias, $name);
            }
        }
        return $this;
    }
public function columns(array $columns): self
    {
        foreach ($columns as $name => $alias) {
            if (!is_string($name)) {
                $this->column($alias, null);
                continue;
            }
            if (is_string($alias)) {
                $this->column($name, $alias);
            } else {
                $this->column($alias, $name);
            }
        }
        return $this;
    }
public function columns ( array $ columns ) : self { foreach ( $ columns as $ name => $ alias ) { if ( ! is_string ( $ name ) ) { $ this -> column ( $ alias , null ) ; continue ; } if ( is_string ( $ alias ) ) { $ this -> column ( $ name , $ alias ) ; } else { $ this -> column ( $ alias , $ name ) ; } } return $ this ; }
Add multiple columns at once

@param   array $columns Columns

@return  $this
Add multiple columns at once