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

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -