APIv4 - Don't assume the identifier field for a table is named 'id'
authorColeman Watts <coleman@civicrm.org>
Thu, 24 Jun 2021 19:36:23 +0000 (15:36 -0400)
committerColeman Watts <coleman@civicrm.org>
Fri, 25 Jun 2021 18:02:15 +0000 (14:02 -0400)
commitd451690c9a2999cbaacbdd40ab79ab69e0eba006
treedaab0c589b10dc8d737257ff5aa416f8f1e391d1
parent53cb0b25fcc219955129db25ec6d7836e9a6ca7e
APIv4 - Don't assume the identifier field for a table is named 'id'

APIv4 getInfo() now returns the name of the "id_field" for any entity.
This modifies the selectQuery so that `get` actions rely on that metadata.
Civi/Api4/CustomValue.php
Civi/Api4/Query/Api4SelectQuery.php