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))