Loading…

How to use multiple OR condition in Laravel Query?

Blog::where(['id' => 5])->orWhere([‘username’ => ‘info@bestinterviewquestion.com’])->update([
    'title' => ‘Best Interview Questions’,
]);

Suggest An Answer

No suggestions avaliable!

Latest post from Laravel Interview Questions

Ask Question