src/mako/database/midgard/Query.php
public function all()
	{
		$results = $this->fetchAll(false, PDO::FETCH_ASSOC);

		if(!empty($results))
		{
			$results = $this->hydrateModelsAndLoadIncludes($results);
		}

		return $this->createResultSet($results);
	}
public function all()
	{
		$results = $this->fetchAll(false, PDO::FETCH_ASSOC);

		if(!empty($results))
		{
			$results = $this->hydrateModelsAndLoadIncludes($results);
		}

		return $this->createResultSet($results);
	}
public function all ( ) { $ results = $ this -> fetchAll ( false , PDO :: FETCH_ASSOC ) ; if ( ! empty ( $ results ) ) { $ results = $ this -> hydrateModelsAndLoadIncludes ( $ results ) ; } return $ this -> createResultSet ( $ results ) ; }
Returns a result set from the database.

@return \mako\database\midgard\ResultSet
Returns a result set from the database .