InterviewSolution
Saved Bookmarks
| 1. |
How to use update query in Laravel? |
|
Answer» With the help of update() FUNCTION, we can update our DATA in the database according to the condition. ExampleBLOG::where(['ID' => $id])->update([ DB::table("blogs")->where(['id' => $id])->update([ |
|