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
buildStatement { if (isIgnore) deleteIgnoreWhere(limit) { where } else deleteWhere(limit) { where } }

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
buildStatement { deleteWhere(limit, where) }

Adapted from org.jetbrains.exposed.v1.jdbc.deleteWhere.

Parameters

offset

no longer used