From 6b4664053aa01217a36a92e153bfa7f4142beab0 Mon Sep 17 00:00:00 2001 From: oof1lab Date: Wed, 15 Nov 2017 17:38:06 +0530 Subject: [PATCH] doc : update --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a12c9ad655..224b2eb2e3 100644 --- a/README.md +++ b/README.md @@ -238,7 +238,7 @@ eg: complex logical expression eg: logical expression with sorting(_sort), pagination(_p), column filtering (_fields) ``` -/api/payments?_where=(amount,gte,1000)&_sort=-amount&p=2&&_fields=customerNumber +/api/payments?_where=(amount,gte,1000)&_sort=-amount&p=2&_fields=customerNumber ``` eg: filter of rows using _where is available for relational route URLs too. @@ -306,17 +306,17 @@ eg: SELECT country,city,count(*) as _count FROM offices GROUP BY country,city ha [:arrow_heading_up:](#api-overview) ``` -/api/offices/groupby?_fields=country,city&sort=city +/api/offices/groupby?_fields=country,city&_sort=city ``` eg: SELECT country,city,count(*) FROM offices GROUP BY country,city ORDER BY city ASC ``` -/api/offices/groupby?_fields=country,city&sort=city,country +/api/offices/groupby?_fields=country,city&_sort=city,country ``` eg: SELECT country,city,count(*) FROM offices GROUP BY country,city ORDER BY city ASC, country ASC ``` -/api/offices/groupby?_fields=country,city&sort=city,-country +/api/offices/groupby?_fields=country,city&_sort=city,-country ``` eg: SELECT country,city,count(*) FROM offices GROUP BY country,city ORDER BY city ASC, country DESC