Skip to content

Commit

Permalink
Use TableAwareWithSqlExpressionBuilderBuildWhere, and run apiDump
Browse files Browse the repository at this point in the history
… which doesn't make any difference
  • Loading branch information
ShreckYe committed Nov 14, 2024
1 parent 6b1a872 commit db34477
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -188,11 +188,11 @@ suspend fun <T : Table, E, SelectorResultT : Comparable<SelectorResultT>> Databa


suspend fun <T : Table> DatabaseClient<*>.deleteWhere(
table: T, limit: Int? = null, offset: Long? = null, op: T.(ISqlExpressionBuilder) -> Op<Boolean>
table: T, limit: Int? = null, offset: Long? = null, op: TableAwareWithSqlExpressionBuilderBuildWhere<T>
) =
executeUpdate(table.deleteWhereStatement(limit, offset, op))

suspend fun <T : Table> DatabaseClient<*>.deleteIgnoreWhere(
table: T, limit: Int? = null, offset: Long? = null, op: T.(ISqlExpressionBuilder) -> Op<Boolean>
table: T, limit: Int? = null, offset: Long? = null, op: TableAwareWithSqlExpressionBuilderBuildWhere<T>
) =
executeUpdate(table.deleteIgnoreWhereStatement(limit, offset, op))

0 comments on commit db34477

Please sign in to comment.