Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support aggregate functions #11

Closed
HenryRLee opened this issue Oct 15, 2018 · 1 comment
Closed

Support aggregate functions #11

HenryRLee opened this issue Oct 15, 2018 · 1 comment

Comments

@HenryRLee
Copy link
Contributor

HenryRLee commented Oct 15, 2018

More readings:
https://developer.salesforce.com/docs/atlas.en-us.soql_sosl.meta/soql_sosl/sforce_api_calls_soql_select_agg_functions.htm

Need more API design.

@HenryRLee
Copy link
Contributor Author

This has been added by PR #24

HenryRLee added a commit that referenced this issue Aug 14, 2019
* Refactor the field namespace resolving methods

Add the private method `appendNamespaceToField`

* Add aggregate methods

That includes count, max, min, avg, sum, count_distinct, and the
group by method.

* Add namespace and field level security check for aggregate functions

* Add more test cases for aggregate functions

To cover the non alias methods

* Add namespace and field level security check to the group by method

* Change the aggregate and groupBy method

Change the groupBy method from a result method to a non result method,
which will return a Query object like selectFields.

Change the return type of the aggregate method to return a list of
aggregate result.

* Update README for the aggregate functions
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant