mysql - How to write IGNORE query in Laravel? -


how write below mysql query in laravel query structure?

$sql = mysql_query("insert ignore feeds(id, pubdate, title, description, link, author, location, feed_name,log_time) values('$id','$pubdate','$title','$description','$link','$author','$feed_region','$feed_name',now())"));

note: must use ignore.


Comments

Popular posts from this blog

PHP and MySQL WP -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

go - golang pprof for c library code -