pg_stud.api
#
Module Contents#
Functions#
Executes Query without checking correctness and saves buffer Does not reset DB |
|
Executes Query with checking correctness, saves buffer and correctness This also resets the DB. |
|
Returns the output of the Solution number 1 after reseting the DB |
|
If the schema for the topic is not installed the db will be installed. enumber is being ignored |
|
Resets DB to specific exercise |
Data#
API#
- pg_stud.api.router#
None
- pg_stud.api.execute_query(request: django.http.HttpRequest, data: pg_stud.schemas.QueryIn)#
Executes Query without checking correctness and saves buffer Does not reset DB
- pg_stud.api.check_answer_correct_api(request: django.http.HttpRequest, data: pg_stud.schemas.QueryIn)#
Executes Query with checking correctness, saves buffer and correctness This also resets the DB.
- pg_stud.api.solution_result(request: django.http.HttpRequest, data: pg_stud.schemas.ExerciseSpeciIn)#
Returns the output of the Solution number 1 after reseting the DB
- pg_stud.api.check_or_install_db(request: django.http.HttpRequest, data: pg_stud.schemas.ExerciseSpeciIn)#
If the schema for the topic is not installed the db will be installed. enumber is being ignored
- pg_stud.api.reset_db(request: django.http.HttpRequest, data: pg_stud.schemas.ExerciseSpeciIn)#
Resets DB to specific exercise