how to use method creating when inserting new data to database in laravel 8 code example
Example: insert into laravel 8
DB::insert('insert into users (id, name) values (?, ?)', [1, 'Dayle']);
DB::insert('insert into users (id, name) values (?, ?)', [1, 'Dayle']);