Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel db inserr

DB::table('users')->insertOrIgnore([
    ['id' => 1, 'email' => 'sisko@example.com'],
    ['id' => 2, 'email' => 'archer@example.com'],
]);
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #db #inserr
ADD COMMENT
Topic
Name
9+2 =