A Lightning component has a wired property, searchResults, that stores a list of Opportunities.
Which definition of the Apex method, to which the searchResults property is wired, should be used?
A . @AuraEnabled(cacheable=true)
public static List<Opportunity> search(String term) { /* implementation*/ }
B . @AuraEnabled(cacheable=true) public List<Opportunity> search(String term) { /*implementation*/ }
C . @AuraEnabled(cacheable=false) public static List<Opportunity> search(String term) { /*implementation*/ }
D . @AuraEnabled(cacheable=false) public List<Opportunity> search(String term) { /*implementation*/ }
Answer: A
Latest CRT-450 Dumps Valid Version with 372 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund