src/Laito/Database.php
private function getColumnsString()
    {
        if (count($this->columns) === 1 && $this->columns[0] === '*') {
            return '*';
        }
        $columns = array_map(function ($column) {
            return (strpos($column, '.') === false)? $this->table . '.' . $column : $column;
        }, $this->columns);
        return implode(', ', $columns);
    }
private function getColumnsString()
    {
        if (count($this->columns) === 1 && $this->columns[0] === '*') {
            return '*';
        }
        $columns = array_map(function ($column) {
            return (strpos($column, '.') === false)? $this->table . '.' . $column : $column;
        }, $this->columns);
        return implode(', ', $columns);
    }
private function getColumnsString ( ) { if ( count ( $ this -> columns ) === 1 && $ this -> columns [ 0 ] === '*' ) { return '*' ; } $ columns = array_map ( function ( $ column ) { return ( strpos ( $ column , '.' ) === false ) ? $ this -> table . '.' . $ column : $ column ; } , $ this -> columns ) ; return implode ( ', ' , $ columns ) ; }
Returns the columns array as a field list string

@return string Field list string
Returns the columns array as a field list string