How I can update table in DB, with use function findOrNew I want first check column in table. If I have same title not add, if I dont have - push I campare @title@ in table DB.
public function update(Request $request, $id)
{$news = News::findOrNew($request->title);
if($news->title==$request->title){
}else{
$news->'title'=$request->input('title');
};
}