From 4385f2a390c82b67d0e3baf5b1040b230e4312ee Mon Sep 17 00:00:00 2001 From: oof1lab Date: Thu, 16 Nov 2017 12:43:14 +0530 Subject: [PATCH] doc : update --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f50a4ff897..82ca2f1281 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ Powered by popular node packages : ([express](https://github.com/expressjs/expre * Generates API for **ANY** MySql database :fire::fire: * Serves APIs irrespective of naming conventions of primary keys, foreign keys, tables etc :fire::fire: * Support for composite primary keys :fire::fire: -* CRUD, List, FindOne, Count, Exists +* REST API Usual suspects : CRUD, List, FindOne, Count, Exists, Distinct * Bulk insert, Bulk delete, Bulk read :fire: * Relations * Pagination @@ -109,6 +109,7 @@ if you haven't on your system. | DELETE | /api/tableName/:id | Delete a row by primary key | | GET | /api/tableName/findOne | Works as list but gets single record matching criteria | | GET | /api/tableName/count | Count number of rows in a table | +| GET | /api/tableName/distinct | Distinct row(s) in table - /api/tableName/distinct?_fields=col1| | GET | /api/tableName/:id/exists | True or false whether a row exists or not | | GET | [/api/parentTable/:id/childTable](#relational-tables) | Get list of child table rows with parent table foreign key | | GET :fire:| [/api/tableName/aggregate](#aggregate-functions) | Aggregate results of numeric column(s) |