How would I implement this with laravel?
INSERT INTO table (a,b) VALUES (1,2), (2,3), (3,4);
thanks
$values = array(
array('field1' => 'value 1', 'field2' => 'value2', ...),
...
);
DB::table('tableName')->insert($value);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community