public abstract class AbstractDeleteLambda<R,T,P> extends BasicQueryCompare<R,T,P> implements DeleteExecute<R>
queryParam, queryTemplatedbType| 构造器和说明 |
|---|
AbstractDeleteLambda(Class<?> exampleType,
TableMapping<?> tableMapping,
LambdaTemplate jdbcTemplate) |
| 限定符和类型 | 方法和说明 |
|---|---|
R |
allowEmptyWhere()
允许空 Where条件(注意:空 Where 条件会导致删除整个数据库)
|
protected BoundSql |
buildBoundSql(SqlDialect dialect) |
int |
doDelete()
根据 Lambda 构造器的条件执行删除
|
addCondition, and, apply, between, eq, format, formatLikeValue, formatSegment, formatValue, ge, gt, in, isNotNull, isNull, le, like, likeLeft, likeRight, lockCondition, lt, ne, nested, notBetween, notIn, notLike, notLikeLeft, notLikeRight, orbuildColumnByLambda, buildColumnByProperty, dialect, exampleIsMap, exampleType, getBoundSql, getBoundSql, getJdbcTemplate, getPropertyName, getSelf, getTableMapping, isQualifier, setDialect, useQualifierclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBoundSql, getBoundSqland, orpublic AbstractDeleteLambda(Class<?> exampleType, TableMapping<?> tableMapping, LambdaTemplate jdbcTemplate)
public int doDelete()
throws SQLException
DeleteExecutedoDelete 在接口中 DeleteExecute<R>SQLExceptionpublic R allowEmptyWhere()
DeleteExecuteallowEmptyWhere 在接口中 DeleteExecute<R>protected BoundSql buildBoundSql(SqlDialect dialect)
buildBoundSql 在类中 BasicLambda<R,T,P>Copyright © 2021–2022. All rights reserved.