Salesforce Fact #696 | GraphQL wire adapter in LWC
With Summer'23 release, the GraphQL wire adapter can be used in LWC and it makes use of LDS.
In this example, we are fetching the account records with non-empty Rating and Type value.
Note: The result contains 10 records.
Reference: https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.reference_graphql
Attached are the screenshots.
Comments
Post a Comment