How can the Lightning component execute the query?
A developer must perform a complex SOQL query that joins two objects in a Lightning component.
How can the Lightning component execute the query?
A . Use the SaJesforce Streaming API to perform the SOQL query.
B . Create a Process Builder to execute the query and invoke from the Lightning component.
C . Invoke an Apex dass with the method annotated as ©AiraEnabled to perform the query.
D . Write the query in a custom Lightning web component wrapper and invoke from the Lightning component.
Answer: D
Latest PDII Practice Questions with 280 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments