Commit 67584e31 authored by Vinicius Souza's avatar Vinicius Souza

Edit README. Add 'And Statement' example.

parent 44f9eebc
......@@ -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