Browse Source

Merge pull request #846 from tobsn/patch-6

fixed link for query builder
Dayle Rees 12 years ago
parent
commit
6415f1d2ac
1 changed files with 1 additions and 1 deletions
  1. 1 1
      laravel/documentation/database/eloquent.md

+ 1 - 1
laravel/documentation/database/eloquent.md

@@ -65,7 +65,7 @@ Need to retrieve an entire table? Just use the static **all** method:
 	     echo $user->email;
 	}
 
-Of course, retrieving an entire table isn't very helpful. Thankfully, **every method that is available through the fluent query builder is available in Eloquent**. Just begin querying your model with a static call to one of the [query builder](/docs/database/query) methods, and execute the query using the **get** or **first** method. The get method will return an array of models, while the first method will return a single model:
+Of course, retrieving an entire table isn't very helpful. Thankfully, **every method that is available through the fluent query builder is available in Eloquent**. Just begin querying your model with a static call to one of the [query builder](/docs/database/fluent) methods, and execute the query using the **get** or **first** method. The get method will return an array of models, while the first method will return a single model:
 
 	$user = User::where('email', '=', $email)->first();