php - Laravel eloquent update record without loading from database - Stack Overflow

PHOTO EMBED

Tue Nov 22 2022 21:33:45 GMT+0000 (Coordinated Universal Time)

Saved by @hassan_aheer #php

Post::where('id',3)->update(['title'=>'Updated title']);
content_copyCOPY

https://stackoverflow.com/questions/29594572/laravel-eloquent-update-record-without-loading-from-database