Timeline for Programmatically find out field name of an Id-field
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 5, 2022 at 20:49 | history | became hot network question | |||
Jan 5, 2022 at 14:16 | vote | accept | informatik-handwerk.de | ||
Jan 5, 2022 at 13:43 | answer | added | Paul | timeline score: 3 | |
Jan 5, 2022 at 13:13 | comment | added | Clive♦ |
Can't test it at the moment but try $id_field = $entity->getKey('id');
|
|
Jan 5, 2022 at 12:49 | history | asked | informatik-handwerk.de | CC BY-SA 4.0 |