DbSetup-kotlin / com.ninja_squad.dbsetup_kotlin / DbSetupBuilder / truncate

truncate

fun truncate(table: String): <ERROR CLASS>

Adds a Truncate operation to the DbSetup

Parameters

table - the table to truncate


fun truncate(vararg tables: String): <ERROR CLASS>

Adds Truncate operations to the DbSetup

Parameters

tables - the tables to delete from


fun truncate(tables: List<String>): <ERROR CLASS>

Adds Truncate operations to the DbSetup

Parameters

tables - the tables to truncate