Part of a custom Lightning component displays the total number of Opportunities in the org, which are in the millions. The Lightning
component uses an Apex method to get the data it needs.
What is the optimal way for a developer to get the total number of Opportunities for the Lightning component?
Submit