Posts

Showing posts with the label apex class

Salesforce Fact #927 | Overwrite apex code in developer console

Image
Have you seen this popup while saving an apex class? This is encountered when the apex class has already been saved from some other dev tool like vs code and you are overwriting those changes from the dev console. So, this popup works like a reminder before proceeding.

Salesforce Fact #648 | ApexTypeImplementor object

With the Spring'23 release, now we can get the list of all classes which implement a particular interface with the help of  ApexTypeImplementor  object. For example, if we need to find out the apex classes which implement the Database.Batchable interface we can use the below SOQL: SELECT Id, ApexClass.Name FROM ApexTypeImplementor WHERE InterfaceName = 'Batchable' For more details check out:  https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_apextypeimplementor.htm