Activity › Forums › Salesforce® Discussions › List out different methods of ProjectionNode class in Salesforce?
Tagged: Fields, Methods, ProjectionNode Class, Salesforce Classic, Signature
-
List out different methods of ProjectionNode class in Salesforce?
Posted by Laveena on August 28, 2019 at 4:53 AMList out different methods of ProjectionNode class in salesforce.
Saddam replied 6 years, 8 months ago 3 Members · 2 Replies -
2 Replies
-
Hi Laveena,
The following are methods for ProjectionNode.
1. sum()
Returns the sum of a numeric field.Signature-
public wave.ProjectionNode sum()2. avg()
Returns the average value of a numeric field.Signature-
public wave.ProjectionNode avg()3. min()
Returns the minimum value of a field.Signature-
public wave.ProjectionNode min()4. max()
Returns the maximum value of a field.Signature-
public wave.ProjectionNode max()5. count()
Returns the number of rows that match the query criteria.Signature-
public wave.ProjectionNode count()6. unique()
Returns the count of unique values.Signature-
public wave.ProjectionNode unique()7. alias(name)
Define output column names.Signature-
public wave.ProjectionNode alias(String name)Thanks.
- [adinserter block='9']
-
Hi Laveena,
The following are methods for ProjectionNode.
sum()
Returns the sum of a numeric field.
avg()
Returns the average value of a numeric field.
min()
Returns the minimum value of a field.
max()
Returns the maximum value of a field.
count()
Returns the number of rows that match the query criteria.
unique()
Returns the count of unique values.
alias(name)
Define output column names.
Log In to reply.