How to add multiple AND conditions in laravel query?

We can add multiple AND operator at in a single where() conditions as well as we can also add separate where() for particular AND condition. Example DB::table('client')->where('status', '=', 1)->where('name', '=', 'bestinterviewquestion.com')->get(); DB::table('client')->where(['status' => 1, 'name' => 'bestinterviewquestion.com'])->get();

Popular posts from this blog

SQL In Static Id Wise Record Skip After Show Result