Laravel wstawka
DB::table('users')->insert([
'email' => '[email protected]',
'votes' => 0
]);
Helpful Hoopoe
DB::table('users')->insert([
'email' => '[email protected]',
'votes' => 0
]);
DB::insert('insert into users (id, name) values (?, ?)', [1, 'Dayle']);