CRM_Util_SQL - Add `interpolate()` helper
authorTim Otten <totten@civicrm.org>
Thu, 9 Apr 2020 21:38:45 +0000 (14:38 -0700)
committerTim Otten <totten@civicrm.org>
Thu, 9 Apr 2020 21:43:22 +0000 (14:43 -0700)
commit8d61954ab2befe89b11d86f41eba4da6d578403a
treeda7da2d080a473c5f26f74739735fb0c5dff9b22
parented5a76383ac09f96d53130c8db7e7bb065d40a97
CRM_Util_SQL - Add `interpolate()` helper

The `interpolate()` function is already available as the heart of
`CRM_Util_SQL_Insert` and `CRM_Utils_SQL_Select`, etc.  This just makes it
easier to use for random SQL statements that don't have a full OOP model.
CRM/Utils/SQL.php
tests/phpunit/CRM/Utils/SQLTest.php [new file with mode: 0644]