示例#1
0
 public function __construct(\PDOStatement $dataResult)
 {
     parent::__construct($dataResult);
     /**
      * @todo hanlde PDO bug that won't return the row count as it's supposed
      */
     $this->rows = $this->dataResult->rowCount();
 }
示例#2
0
 public function __construct(\SQLite3Result $dataResult)
 {
     parent::__construct($dataResult);
     /**
      * @todo There is no way of getting the number of rows unless you loop through all data
      */
     //$this->rows = $this->dataResult->rowCount();
 }
示例#3
0
 public function __construct(\mysqli_result $dataResult)
 {
     parent::__construct($dataResult);
     $this->rows = $this->dataResult->num_rows;
 }