Sql

class Sql(file: String, driver: String)

Functions

Link copied to clipboard
fun getCommands(): Map<String, String>
Link copied to clipboard
fun getHistory(age: Int = 2592000): List<HistoryItem>
Link copied to clipboard
fun initTables()
Link copied to clipboard
fun insertCommand(key: String, response: String): InsertStatement<Number>
Link copied to clipboard
fun insertHistory(key: String, args: List<String>, response: String, service: String, user: String): InsertStatement<Number>
Link copied to clipboard
fun removeCommand(key: String): Int