Sign Up

Sign In

Forget Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

You must login to ask question.

Developers Map

Update Column Or Query In Laravel

  • 2

When you want to update a  record in your DB by using laravel Query then you can use this SQL query :

Use Below Code :

$UpdateDetails = YourTableName::where(‘id’,”1″)->update([‘user_name’ =>”developersmap”]);

You can use this query to update your record.

Leave an answer

Leave an answer