You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2021. It is now read-only.
For now, Laravel supports composite primary keys in migrations, but they're not completely supported in models.
For example, if you have model that contains public $incrementing = false; public $primaryKey = ['fieldA', 'fieldB'];
it will cause an error during createOrUpdate operaion (need to check out others). That issue solved by 3rd party packages, overriding protected setKeysForSaveQuery and getKeyForSaveQuery methods.
In my opinion, that feature is important enough to pay more attention at core eloquent package, without need to require additional packages
martinbean, sk33wiff, xorock, jeidison, gareth-ib and 25 more