CRM_Dedupe_BAO_QueryBuilder_IndividualGeneral
class CRM_Dedupe_BAO_QueryBuilder_IndividualGeneral extends CRM_Dedupe_BAO_QueryBuilder
TODO: How to handle NULL values/records? Class CRM_Dedupe_BAO_QueryBuilder_IndividualGeneral
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.
static array
record($rg)
No description
static array
internal($rg)
No description
Details
in CRM_Dedupe_BAO_QueryBuilder at line 14
static string
internalFilters($rg, string $strID1 = 'contact1.id', string $strID2 = 'contact2.id')
in CRM_Dedupe_BAO_QueryBuilder 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.