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 has been archived by the owner on Jul 27, 2022. It is now read-only.
Actually, Orm doesn't allow us to use compouned keys.
Current code consider PK as a single field.
I'd prefer Entity::pk to be an array (or single value OR array, managed by "is_array" inside the code, but easier is to have array type).
As getPk() doesn't have to return "the name of the field that is PK", but "all fields making part of the PK".
must change to something like:
It should be nice to have helper managing this logic:
So that Core::deleteByIds(), Core::updateEntity(), Core::findByIds() can use it.
become
Entity::getPKWhere() manage so internal cache avoiding function calls.
The text was updated successfully, but these errors were encountered: