Refer to the code snippet below: When a Lightning web component is rendered, a list of opportunities that match certain criteria should be retrieved from the database and displayed to the end-user. Which three considerations must the developer implement to make the fetchOpportunities method available within the Lightning web component? (Choose three.)
A. The method must specify the (cacheable=true) attribute.
B. The method must specify the (continuation=true) attribute.
C. The method must be annotated with the @AuraEnabled annotation.
D. The method must be annotated with the @InvocableMethod annotation.
E. The method cannot mutate the result set retrieved from the database.
Suggest answer: ABC
Reference:
No comments:
Please share to make the community better.