mevdschee / mevdschee/php-crud-api

Aggregration-Functions

Open
#60 2 comments 1 reaction 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.