Skip to content
Advertisement

how to excute duplicate key update in laravel

I want to duplicate key update it, but it doesn’t work.

How to Duplicate key update in laravel?

JavaScript

in laravel ..

JavaScript

enter image description here

Advertisement

Answer

Follow this method to update your information in case key already exist. You must need to match unique data and update the rest.

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement