mevdschee / mevdschee/php-crud-api
Aggregration-Functions
Open
@mevdschee is already working on this.
Since Apr 20, 2016.
enhancement
- Dominant language
- PHP
- Stars
- 3.7k
- Forks
- 1k
- Avg merge
- 1h 55m
- Merged PRs (30d)
- 7
Description
It would be nice, if there is a feature to count or sum up all entries in a table, something like that:
/api?Aromen&aggregate=count&filter=USER_ID,eq,1
If I want to sum up a table I have to choose a col to sum:
/api?Aromen&aggregate=sum&col=price&filter=USER_ID,eq,1
It's only a thought to enhance this great API.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.