createChallenge

abstract fun createChallenge(@NotNull prefix: @NotNull String, id: String, data: String)(source)

Saves a new challenge to the database.

Parameters

tablePrefix

the prefix, if any, to use for the container's name.

id

the id of the new challenge.

data

the data of the new challenge.

Throws

if an I/O error occurs while saving the challenge.