Database in work. Added connection pool, etc
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
package commands
|
||||
|
||||
import collection.CollectionManager
|
||||
import database.Repository
|
||||
import kotlinx.serialization.Contextual
|
||||
import kotlinx.serialization.Serializable
|
||||
import models.HumanBeing
|
||||
import network.Response
|
||||
|
||||
@Serializable
|
||||
class ClearCommand(@Contextual private val manager: CollectionManager) : Command {
|
||||
class ClearCommand(@Contextual private val manager: Repository) : Command {
|
||||
override val name = "clear"
|
||||
override val description = "очистить коллекцию"
|
||||
override val args = listOf(CommandArgType.NONE)
|
||||
|
||||
Reference in New Issue
Block a user