SOQL Query Like With Multiple Values
Biswajeet
March 31, 2020 No Comments on SOQL Query Like With Multiple Values
Sample Code:
Set<String> accountNameMatches = new Set<String> { 'A%', 'B%', '%C%', '%D' }; List<Account> accList = [SELECT Id FROM Account WHERE Name LIKE :accountNameMatches]; system.debug('accList-' + accList);