Closed Kh4os-afk closed 1 month ago
Hi @Kh4os-afk,
Eloquent doesn’t support composite primary keys, see link belowe, https://laravel.com/docs/11.x/eloquent#composite-primary-keys
but you can try to use https://github.com/thiagoprz/eloquent-composite-key
This issue is stale because it has been open for 30 days with no activity.
Summary of problem or feature request
Hey! my oracle database has several composite primary keys, which forced me to set the $primaryKey of the Models to 'rowid', when I am using the Find method with rowid in string the line in question is returned without problems, however when trying to apply a update in this variable and checking the logs I notice that Laravel tried to apply an update to null
Code snippet of problem
Model:
Render Method (Livewire Controler)
System details
Laravel DebugBar