db::table()->value code example
Example: laravel db inserr
DB::table('users')->insert([
'email' => '[email protected]',
'votes' => 0
]);
DB::table('users')->insert([
'email' => '[email protected]',
'votes' => 0
]);