src/mako/database/midgard/Query.php
public function first()
	{
		$result = $this->fetchFirst(PDO::FETCH_ASSOC);

		if($result !== false)
		{
			return $this->hydrateModelsAndLoadIncludes([$result])[0];
		}

		return false;
	}
public function first()
	{
		$result = $this->fetchFirst(PDO::FETCH_ASSOC);

		if($result !== false)
		{
			return $this->hydrateModelsAndLoadIncludes([$result])[0];
		}

		return false;
	}
public function first ( ) { $ result = $ this -> fetchFirst ( PDO :: FETCH_ASSOC ) ; if ( $ result !== false ) { return $ this -> hydrateModelsAndLoadIncludes ( [ $ result ] ) [ 0 ] ; } return false ; }
Returns a single record from the database.

@return \mako\database\midgard\ORM|false
Returns a single record from the database .