Commit 2cf64f6a authored by Jens Segers's avatar Jens Segers

Merge pull request #249 from vsouza/master

Edit README. Add 'And Statement' example.
parents b7b08444 67584e31
......@@ -167,6 +167,10 @@ Examples
$users = User::where('votes', '>', 100)->orWhere('name', 'John')->get();
**And Statements**
$users = User::where('votes', '>', 100)->where('name', '=', 'John')->get();
**Using Where In With An Array**
$users = User::whereIn('age', array(16, 18, 20))->get();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment