second step details
This commit is contained in:
@@ -23,9 +23,17 @@ https://cherrypy.org/
|
|||||||
- responses for /insert /select /delete /modify
|
- responses for /insert /select /delete /modify
|
||||||
|
|
||||||
2. classes and functions for DB operations and mapping
|
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
|
||||||
|
- INSERT INTO {table} VALUES({val1}, {val2})
|
||||||
|
- validate number of fields and types
|
||||||
|
- error handling and tracebacks
|
||||||
- SELECT
|
- SELECT
|
||||||
|
- SELECT {fields} FROM {table} WHERE {condition} {operator} {value}
|
||||||
|
- the whole where cluase is optional, but needs to be implemented
|
||||||
- DELETE
|
- DELETE
|
||||||
|
- DELETE FROM {table} WHERE {condition} {operator} {value}
|
||||||
- MODIFY / ALTER
|
- MODIFY / ALTER
|
||||||
|
|
||||||
3. aggregate functions and complex queries mapping
|
3. aggregate functions and complex queries mapping
|
||||||
|
|||||||
Reference in New Issue
Block a user