public function select($fields = null)
    {
        $select = new Select($this);

        if ($fields !== null) {
            $select->fields($fields);
        }

        return $select;
    }
public function select($fields = null)
    {
        $select = new Select($this);

        if ($fields !== null) {
            $select->fields($fields);
        }

        return $select;
    }
public function select ( $ fields = null ) { $ select = new Select ( $ this ) ; if ( $ fields !== null ) { $ select -> fields ( $ fields ) ; } return $ select ; }
Get a select object for the current table.
@param  null $fields
@return Select
Get a select object for the current table .