Fixing the Infamous “Maximum SOQL Limit” Error in Apex

|
| By Webner

The “Maximum SOQL Limit” error, often accompanied by the message System.LimitException: Too many SOQL queries: 101 is one of the most common and frustrating problems faced by Salesforce developers. It signifies a violation of a fundamental governing rule (governor limit)

Salesforce | Sort “wrapper class” objects alphabetically based on a String parameter

| By Webner

Suppose we have a Wrapper class with fName as a string instance variable and we want to sort a list of objects alphabetically based on value of this variable. Implement Comparable interface global class MyWrapperclass implements Comparable { public String