src/Neevo/Result.php
public function fetchAll($limit = null, $offset = null){
		$limit = $limit === null ? -1 : (int) $limit;
		if($offset !== null)
			$this->seek((int) $offset);

		$row = $this->fetch();
		if(!$row)
			return array();

		$rows = array();
		do{
			if($limit === 0)
				break;
			$rows[] = $row;
			$limit--;
		} while($row = $this->fetch());

		return $rows;
	}
public function fetchAll($limit = null, $offset = null){
		$limit = $limit === null ? -1 : (int) $limit;
		if($offset !== null)
			$this->seek((int) $offset);

		$row = $this->fetch();
		if(!$row)
			return array();

		$rows = array();
		do{
			if($limit === 0)
				break;
			$rows[] = $row;
			$limit--;
		} while($row = $this->fetch());

		return $rows;
	}
public function fetchAll ( $ limit = null , $ offset = null ) { $ limit = $ limit === null ? - 1 : ( int ) $ limit ; if ( $ offset !== null ) $ this -> seek ( ( int ) $ offset ) ; $ row = $ this -> fetch ( ) ; if ( ! $ row ) return array ( ) ; $ rows = array ( ) ; do { if ( $ limit === 0 ) break ; $ rows [ ] = $ row ; $ limit -- ; } while ( $ row = $ this -> fetch ( ) ) ; return $ rows ; }
Fetches all rows in result set.
@param int $limit Limit number of returned rows
@param int $offset Seek to offset (fails on unbuffered results)
@return Row[]
Fetches all rows in result set .