deleteWhereStatement
fun Table.deleteWhereStatement(where: WhereOp, isIgnore: Boolean = false, limit: Int? = null, offset: Long? = null): DeleteStatement(source)
Deprecated
Use the new `buildStatement` API in Exposed.
Replace with
import org.jetbrains.exposed.v1.core.statements.buildStatement
Content copied to clipboard
buildStatement { if (isIgnore) deleteIgnoreWhere(limit) { where } else deleteWhere(limit) { where } }Content copied to clipboard
Parameters
offset
no longer used
See also
deleteWhere
StatementBuilder.deleteWhere
StatementBuilder.deleteIgnoreWhere
fun <T : Table> T.deleteWhereStatement(limit: Int? = null, offset: Long? = null, where: TableAwareWithSqlExpressionBuilderBuildWhere<T>): DeleteStatement(source)
Deprecated
Use the new `buildStatement` API in Exposed.
Replace with
import org.jetbrains.exposed.v1.core.statements.buildStatement
Content copied to clipboard
buildStatement { deleteWhere(limit, where) }Content copied to clipboard
Adapted from org.jetbrains.exposed.v1.jdbc.deleteWhere.
Parameters
offset
no longer used