Salesforce Fact #698 | Aggregate functions in graphql
We can use aggregate functions as well with graphql wire adapter.
In this example, we are getting the related Contact and Opportunity count for an account using the 'totalCount' variable.
Reference: https://developer.salesforce.com/docs/platform/graphql/guide/aggregate-examples.html
Attached is the screenshot.
Comments
Post a Comment