# Functions

AutoMigrateAll 自動產生 table.
CreateOption 新增選項/答案.
CreateQuestion 新增題目.
CreateStudentTestPaper 新增該測驗卷下已評分學生考卷.
CreateStudentTestPaperAnswer 新增該學生已被批改的題目.
CreateTestPaper 新增測驗卷.
CreateTopic 新增大題.
DeleteQuestionTopic 刪除.
DeleteTestPaper 刪除.
DeleteTopic 刪除.
GetAnswerByQuestionID 透過 id 取得 question.
GetQuestion 透過 id 取得 question.
GetQuestionTopic 透過 ID 取得 QuestionTopic.
GetQuestionTopicByID 透過 ID 取得 QuestionTopic.
GetQuestionTopicByTopicIDandSort 透過 TopicID 和 Sort 取得 QuestionTopic.
GetStudentTestPaper 透過 id 取得已評分學生考卷.
GetStudentTestPaperAnswersByID 透過 id 取得已被批改的題目.
GetStudentTestPaperByStudentByID 透過 studentID 取得該學生的已評分測驗卷.
GetStudentTestPaperByTestPaperIDandStudentID 透過 TestPaperID 和 StudentID 取得已評分學生考卷.
GetTestPaperByID 透過 id 取得.
GetTestpaperTopicCount 取得測驗卷的大題數.
GetTopicBySort 透過 sort 取得 topic.
GetTopicDataBySort 取得測驗卷的大題資料.
ListOptionsByQuestionID 透過 questionID 取得該題目下的所有 option.
ListQuestions 取得所有 Question.
ListQuestionTopicsByTopicID 用 topic_id 取得所有 QuestionTopic.
ListStudentTestPaperAnswersByStudentTestPaperID 透過 studentTestPaperID 取得該學生所有已批改的題目.
ListStudentTestPapers 取得該測驗卷下所有學生的已評分測驗卷.
ListTestPapers 取得所有 testpaper.
ListTopicsByTestpaperID 取得所有 topic.
Ping ping a database.
Setup 資料庫連接設定.
UpdateTestPaper 更新.
UpdateTopic 更新.

# Variables

DB 資料庫連接.

# Structs

Option 選項 data model.
OptionAPIRequest 題目選項.
Question 題目 data model.
QuestionTopic 選擇題在哪個 Topic.
No description provided by the author
No description provided by the author
TestPaper Database - database.
Topic 第幾大題(要放在測驗卷的).