Welcome Guest, Not a member yet? Register   Sign In
How Cancel The Delete in ‘’$useSoftDeletes = true‘’
#4

(07-27-2022, 11:28 PM)ozornick Wrote: Yesterday I ran into this situation. If you set the entity $user->deletedAt = null, it may not be able to update the entry. It says "No data to update"
The $user->hasChanged() method returns true.
If you make a request using QB $model->set(deleted_at, null)->update(id), it also fails to save

I am running into this same issue, were you able to solve it?
Reply


Messages In This Thread
RE: How Cancel The Delete in ‘’$useSoftDeletes = true‘’ - by SoccerGuy3 - 10-14-2022, 08:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB