yii\db\DataReader::getColumnCount PHP 메소드

getColumnCount() 공개 메소드

Note, even there's no row in the reader, this still gives correct column number.
public getColumnCount ( ) : integer
리턴 integer the number of columns in the result set.
    public function getColumnCount()
    {
        return $this->_statement->columnCount();
    }