src/SQLRequest/SQLSelectRequest.php
public function fetch() {
		if( !$this->fetchLastStatement ) {
			$this->startFetching();
		}
		$row = $this->fetchLastStatement->fetch(\PDO::FETCH_ASSOC);
		if( !$row ) {
			// Last return false, we return null, same effect
			return null;
		}
		if( !$this->fetchIsObject ) {
			return $row;
		}
		$class = $this->class;
		return $class::load($row, true, $this->usingCache);
	}
public function fetch() {
		if( !$this->fetchLastStatement ) {
			$this->startFetching();
		}
		$row = $this->fetchLastStatement->fetch(\PDO::FETCH_ASSOC);
		if( !$row ) {
			// Last return false, we return null, same effect
			return null;
		}
		if( !$this->fetchIsObject ) {
			return $row;
		}
		$class = $this->class;
		return $class::load($row, true, $this->usingCache);
	}
public function fetch ( ) { if ( ! $ this -> fetchLastStatement ) { $ this -> startFetching ( ) ; } $ row = $ this -> fetchLastStatement -> fetch ( \ PDO :: FETCH_ASSOC ) ; if ( ! $ row ) { // Last return false, we return null, same effect return null ; } if ( ! $ this -> fetchIsObject ) { return $ row ; } $ class = $ this -> class ; return $ class :: load ( $ row , true , $ this -> usingCache ) ; }
Fetch the next result of this query

@return NULL|mixed

Query one time the DBMS and fetch result for next calls
This feature is made for common used else it may have an unexpected behavior
Fetch the next result of this query