Doctrine\DBAL\Statement::columnCount PHP 메소드

columnCount() 공개 메소드

Returns the number of columns in the result set.
public columnCount ( ) : integer
리턴 integer
    public function columnCount()
    {
        return $this->stmt->columnCount();
    }

Usage Example

 /**
  * @return mixed
  */
 function columnCount()
 {
     return $this->stmt->columnCount();
 }