From 3f604d8a467250d564dcf5ea607b03e4be37e01d Mon Sep 17 00:00:00 2001 From: Milan Toman Date: Mon, 17 Jun 2019 11:04:21 +0200 Subject: [PATCH] second step details --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9f787e7..c6456a2 100644 --- a/README.md +++ b/README.md @@ -23,9 +23,17 @@ https://cherrypy.org/ - responses for /insert /select /delete /modify 2. classes and functions for DB operations and mapping + - Conditions operators and values can obviously be merged to one statement + and sent to the API as is - then need to be validated. - INSERT + - INSERT INTO {table} VALUES({val1}, {val2}) + - validate number of fields and types + - error handling and tracebacks - SELECT + - SELECT {fields} FROM {table} WHERE {condition} {operator} {value} + - the whole where cluase is optional, but needs to be implemented - DELETE + - DELETE FROM {table} WHERE {condition} {operator} {value} - MODIFY / ALTER 3. aggregate functions and complex queries mapping