CRM_Dedupe_BAO_QueryBuilder
class CRM_Dedupe_BAO_QueryBuilder
Class CRM_Dedupe_BAO_QueryBuilder
Methods
static string
internalFilters($rg, string $strID1 = 'contact1.id', string $strID2 = 'contact2.id')
No description
static string
filterQueryByContactList(array $contactList, string $query, string $strID1 = 'contact1.id', string $strID2 = 'contact2.id')
If a contact list is specified then adjust the query to ensure one contact is in that list.
Details
at line 14
static string
internalFilters($rg, string $strID1 = 'contact1.id', string $strID2 = 'contact2.id')
at line 39
static protected string
filterQueryByContactList(array $contactList, string $query, string $strID1 = 'contact1.id', string $strID2 = 'contact2.id')
If a contact list is specified then adjust the query to ensure one contact is in that list.
Doing an OR join here will lead to a server-killing unindexed query. However, a union will perform better.