INPUT_OBJECT

CreateDatabaseTaskInput

link GraphQL Schema definition

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

link Required by