com.sxtanna.db.struct.statement.truncate.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Kuery Show documentation
Show all versions of Kuery Show documentation
MySQL Kotlin DSL/ORM based on HikariCP
package com.sxtanna.db.struct.statement
import com.sxtanna.db.struct.Table
/**
* An object that can truncate (delete all data) tables
*/
interface Truncater {
/**
* Truncate the data in this table
*/
fun truncate(table : Table)
/**
* An object that can truncate (delete all data) from its table
*/
interface TableTruncater {
/**
* @see [Truncater.truncate]
*/
fun truncate()
}
}