Browse Source

doc : readme

pull/8/head
oof1lab 7 years ago
parent
commit
63bb8f27c9
  1. 3
      README.md

3
README.md

@ -176,6 +176,7 @@ eg: SELECT country,city,count(*) FROM offices GROUP BY country,city ORDER BY cit
``` ```
http://localhost:3000/api/payments/aggregate?_fields=amount http://localhost:3000/api/payments/aggregate?_fields=amount
response body
[ [
{ {
"min_of_amount": 615.45, "min_of_amount": 615.45,
@ -192,6 +193,8 @@ eg: retrieves all numeric aggregate of a column in a table
``` ```
http://localhost:3000/api/orderDetails/aggregate?_fields=priceEach,quantityOrdered http://localhost:3000/api/orderDetails/aggregate?_fields=priceEach,quantityOrdered
response body
[ [
{ {
"min_of_priceEach": 26.55, "min_of_priceEach": 26.55,

Loading…
Cancel
Save