INPUT_OBJECT

EditDatabaseTaskInput

link GraphQL Schema definition

1input EditDatabaseTaskInput {
4
2# The title of the task is the more user-friendly version of the task name.
3title: String
6
5description: String
10
7# This script will run before each test case. Declare all the required tables
8# here.
9setupScript: String
14
11# This cleanup script will run after each test case. Clean up the tables here by
12# dropping them.
13teardownScript: String
16
15testCases: [DatabaseTestCaseInput]
19
17# The number of test cases that will be made visible to the test-taker.
18sampleTestCount: Int
23
20# The list of all the languages that are allowed to be used in this task,
21# or an empty list to allow all possible languages.
22allowedLanguages: [DatabaseLanguageName]
29
24# The list of the table names which will be displayed to the user when viewing the
25# test case input.
26# Note: This field is required for PostgreSQL only and should be omitted for MySQL
27# databases.
28tableNames: [String]
37
30# A list that describes customized execution time limits for one or more
31# languages.
32# If a language is not specified in the list, its execution time limit will be set
33# to the default.
34# In particular, you can pass an empty list to reset the time limits for all
35# languages to the default.
36timeLimits: [DatabaseLanguageTimeLimit]
38}

link Required by