public function getColumnStmt($tableName)
    {
        $colStmt = array();
        foreach ($this->tableColumnTypes[$tableName] as $colName => $colType) {
            if ($colType['type'] == 'bit' && $this->dumpSettings['hex-blob']) {
                $colStmt[] = "LPAD(HEX(`${colName}`),2,'0') AS `${colName}`";
            } elseif ($colType['is_blob'] && $this->dumpSettings['hex-blob']) {
                $colStmt[] = "HEX(`${colName}`) AS `${colName}`";
            } elseif ($colType['is_virtual']) {
                $this->dumpSettings['complete-insert'] = true;
                continue;
            } else {
                $colStmt[] = "`${colName}`";
            }
        }

        return $colStmt;
    }
public function getColumnStmt($tableName)
    {
        $colStmt = array();
        foreach ($this->tableColumnTypes[$tableName] as $colName => $colType) {
            if ($colType['type'] == 'bit' && $this->dumpSettings['hex-blob']) {
                $colStmt[] = "LPAD(HEX(`${colName}`),2,'0') AS `${colName}`";
            } elseif ($colType['is_blob'] && $this->dumpSettings['hex-blob']) {
                $colStmt[] = "HEX(`${colName}`) AS `${colName}`";
            } elseif ($colType['is_virtual']) {
                $this->dumpSettings['complete-insert'] = true;
                continue;
            } else {
                $colStmt[] = "`${colName}`";
            }
        }

        return $colStmt;
    }
public function getColumnStmt ( $ tableName ) { $ colStmt = array ( ) ; foreach ( $ this -> tableColumnTypes [ $ tableName ] as $ colName => $ colType ) { if ( $ colType [ 'type' ] == 'bit' && $ this -> dumpSettings [ 'hex-blob' ] ) { $ colStmt [ ] = "LPAD(HEX(`${colName}`),2,'0') AS `${colName}`" ; } elseif ( $ colType [ 'is_blob' ] && $ this -> dumpSettings [ 'hex-blob' ] ) { $ colStmt [ ] = "HEX(`${colName}`) AS `${colName}`" ; } elseif ( $ colType [ 'is_virtual' ] ) { $ this -> dumpSettings [ 'complete-insert' ] = true ; continue ; } else { $ colStmt [ ] = "`${colName}`" ; } } return $ colStmt ; }
Build SQL List of all columns on current table which will be used for selecting

@param string $tableName  Name of table to get columns

@return array SQL sentence with columns for select
Build SQL List of all columns on current table which will be used for selecting