second step details

This commit is contained in:
2019-06-17 11:04:21 +02:00
parent 2e196da9dc
commit 3f604d8a46

View File

@@ -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