I was doing it wrong:
$model->update([$primaryKeyColumn => $primaryKeyValue]); /* It's an associative array -.- */
Anyway, now i'm getting an out of memory error... maybe I'll just write the update query as a string and execute it.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community