APIv4 - Default to saving and deleting DAO records in bulk
authorColeman Watts <coleman@civicrm.org>
Tue, 11 May 2021 16:22:48 +0000 (12:22 -0400)
committerColeman Watts <coleman@civicrm.org>
Mon, 17 May 2021 02:08:30 +0000 (22:08 -0400)
commit236f858eb4689d71b748252cc94e47a3850dc472
tree6a18c3ff891282adccfd6d6505afd39a7a63685e
parent27b1d203d1482049d9117983c691ace7bf70c76a
APIv4 - Default to saving and deleting DAO records in bulk

This adds new writeRecords() and deleteRecords() methods
to CRM_Core_DAO which can be overridden by DAOs who wish to optimize.
CRM/Core/DAO.php
Civi/Api4/Generic/DAODeleteAction.php
Civi/Api4/Generic/Traits/DAOActionTrait.php