original_string: public function queryAndFetch($sql, Closure $handler)
  	{
  		$sth = $this->query($sql);
  
  		while (($row = $sth->fetch(PDO::FETCH_ASSOC)))
  			$handler($row);
  	}
code: public function queryAndFetch($sql, Closure $handler)
  	{
  		$sth = $this->query($sql);
  
  		while (($row = $sth->fetch(PDO::FETCH_ASSOC)))
  			$handler($row);
  	}
code_tokens: public function queryAndFetch ( $ sql , Closure $ handler ) { $ sth = $ this -> query ( $ sql ) ; while ( ( $ row = $ sth -> fetch ( PDO :: FETCH_ASSOC ) ) ) $ handler ( $ row ) ; }
docstring: Execute a raw SQL query and fetch the results.
  
  @param string $sql Raw SQL string to execute.
  @param Closure $handler Closure that will be passed the fetched results.
docstring_tokens: Execute a raw SQL query and fetch the results .