Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel insert or ignore

<?php
DB::table('users')->insertOrIgnore([
    ['id' => 1, 'email' => 'taylor@example.com'],
    ['id' => 2, 'email' => 'dayle@example.com']
]);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #insert #ignore
ADD COMMENT
Topic
Name
5+4 =