multiple where condition in laravel query builder for update

$affectedRows = DB::table('practice_done')->where([['user_id', $user_id],['practice_date', $practice_date],['language_code', $language_code]])->update(array('question_ids' => $question_ids,'question_attempt' => $question_attempt,'updated_at'=>$date));

Discover more from Soa Technology | Aditya Website Development Designing Company

Subscribe to get the latest posts sent to your email.



Leave a Reply

Discover more from Soa Technology | Aditya Website Development Designing Company

Subscribe now to keep reading and get access to the full archive.

Continue reading