laravel elquent where code example
Example 1: where () laravel Eloquent
//los signos de igualdad pueden ser: ">=", "<=", "=", ">", "<"
$user = User::where("estado","=",1)->find(10);
Example 2: laravel where
$users = DB::table('users')
->whereMonth('created_at', '12')
->get();