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

read() 공개 메소드

Advances the reader to the next row in a result set.
public read ( ) : array
리턴 array the current row, false if no more row available
    public function read()
    {
        return $this->_statement->fetch();
    }

Usage Example

예제 #1
0
 /**
  * Advances the reader to the next row in a result set.
  * @return array the current row, false if no more row available
  */
 public function read()
 {
     //Try..Catch to prevent Function sequence error: -11067
     try {
         return parent::read();
     } catch (\Exception $ex) {
     }
     return false;
 }
All Usage Examples Of yii\db\DataReader::read