Hi guys,
I am making an API using Laravel. In one of my scripts, I am doing an update in a field, for example:
user::where('uuid', $uuid)->update(['date' => $date]);
I noticed that this increases the primary key. My obvious conclusion is that Eloquent makes an exception - insert instead of a regular MySQL update.
So the question is why?
Thanks.
source share