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

Popular posts from this blog

Salesforce Fact #192 | Call batch apex from flow

Salesforce Fact #457 | Get current user role name in flow