Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

insert batch in laravel

$data = array(
    array('name'=>'Coder 1', 'rep'=>'4096'),
    array('name'=>'Coder 2', 'rep'=>'2048'),
    //...
);

Coder::insert($data);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #insert #batch #laravel
ADD COMMENT
Topic
Name
6+2 =