johnsontitusMay 24, 20201 min readUse cases addressed with Apex/Lightning componentUse case - Lightning component listing product information about max discount allowed for each product. This field should be available...
johnsontitusMay 12, 20201 min readTo prevent SOQL injectionUse the following: SOQL injection - a SOQL injection attack can be used by attackers to access otherwise restricted data in your...
johnsontitusMay 12, 20201 min readUse static query instead of dynamic queryEg of dynmic query: String query = 'select id from account where name = \'' + name + '\''; List<Account> queryResult =...