Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel insert array

$projects = [
    [
        "name"        => "project-one",
        "description" => "description",
    ],
    [
        "name"        => "project-two",
        "description" => "description",
    ],
];
Project::insert($projects);
Source by www.php.net #
 
PREVIOUS NEXT
Tagged: #laravel #insert #array
ADD COMMENT
Topic
Name
6+3 =