civicrm_api4 - Extend functionality of index param
authorColeman Watts <coleman@civicrm.org>
Thu, 9 Jan 2020 03:13:57 +0000 (22:13 -0500)
committerColeman Watts <coleman@civicrm.org>
Thu, 9 Jan 2020 03:13:57 +0000 (22:13 -0500)
commit4a7dc83a548f738d97264e1870a1ccacfd8a3601
treec8938173044e99b02aad1b26e48ef2438c26e5cc
parent56d00639f2dd40c109e5e479a161336f6e09e889
civicrm_api4 - Extend functionality of index param

Passing an array allows you to return a single result column, with automatic handling of the select clause.
api/api.php
tests/phpunit/api/v4/Action/IndexTest.php