From db344776fdfd8b99d1c91cb70ab4ba780f11fd79 Mon Sep 17 00:00:00 2001 From: Yongshun Shreck Ye Date: Thu, 14 Nov 2024 23:40:06 +0800 Subject: [PATCH] Use `TableAwareWithSqlExpressionBuilderBuildWhere`, and run `apiDump` which doesn't make any difference --- .../exposedvertxsqlclient/sql/DatabaseClientSql.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/main/kotlin/com/huanshankeji/exposedvertxsqlclient/sql/DatabaseClientSql.kt b/lib/src/main/kotlin/com/huanshankeji/exposedvertxsqlclient/sql/DatabaseClientSql.kt index bcada20..4d2657a 100644 --- a/lib/src/main/kotlin/com/huanshankeji/exposedvertxsqlclient/sql/DatabaseClientSql.kt +++ b/lib/src/main/kotlin/com/huanshankeji/exposedvertxsqlclient/sql/DatabaseClientSql.kt @@ -188,11 +188,11 @@ suspend fun > Databa suspend fun DatabaseClient<*>.deleteWhere( - table: T, limit: Int? = null, offset: Long? = null, op: T.(ISqlExpressionBuilder) -> Op + table: T, limit: Int? = null, offset: Long? = null, op: TableAwareWithSqlExpressionBuilderBuildWhere ) = executeUpdate(table.deleteWhereStatement(limit, offset, op)) suspend fun DatabaseClient<*>.deleteIgnoreWhere( - table: T, limit: Int? = null, offset: Long? = null, op: T.(ISqlExpressionBuilder) -> Op + table: T, limit: Int? = null, offset: Long? = null, op: TableAwareWithSqlExpressionBuilderBuildWhere ) = executeUpdate(table.deleteIgnoreWhereStatement(limit, offset, op))