query model and update field laravel code example
Example 1: update column value laravel
Page::where('id', $id)->update(array('image' => 'asdasd'));
Example 2: get all data eloquent laravel
Blog::all();
//example usage.
$posts = Blog::all();
Page::where('id', $id)->update(array('image' => 'asdasd'));
Blog::all();
//example usage.
$posts = Blog::all();