| Modifier and Type | Class and Description |
|---|---|
class |
WhereCondition<C extends WhereCondition<C>>
WHERE 条件构造器抽象类,用于构建 SQL 查询中的 WHERE 子句。
|
| Modifier and Type | Class and Description |
|---|---|
class |
GenericWhereCondition |
class |
MysqlWhereCondition |
class |
OracleWhereCondition |
| Modifier and Type | Method and Description |
|---|---|
static AbstractDialectParser |
SqlExecutionFactory.chosenDialectParser(SchemaProperties schemaProperties,
Class<?> entityClass,
Collection<Object> param,
WhereCondition whereCondition) |
| Modifier and Type | Field and Description |
|---|---|
protected WhereCondition |
AbstractDialectParser.whereCondition |
| Constructor and Description |
|---|
AbstractDialectParser(Class<?> entityClass,
SchemaProperties schemaProperties,
WhereCondition whereCondition) |
| Constructor and Description |
|---|
MysqlParser(Class<?> entityClass,
SchemaProperties schemaProperties,
Collection<Object> params,
WhereCondition whereCondition) |
OracleParser(Class<?> entityClass,
SchemaProperties schemaProperties,
Collection<Object> params,
WhereCondition whereCondition) |
| Modifier and Type | Method and Description |
|---|---|
int |
EntityMapper.delete(Consumer<WhereCondition> condition)
根据指定的条件删除数据库中的记录。
|
int |
EntityMapper.update(T entity,
Consumer<WhereCondition> condition)
根据指定条件更新实体对象的所有字段。
|
int |
EntityMapper.updateSelective(T entity,
Collection<Fn<T,?>> forcedFields,
Consumer<WhereCondition> condition)
根据指定条件更新实体对象的非空字段,并强制更新指定的字段。
|
int |
EntityMapper.updateSelective(T entity,
Consumer<WhereCondition> condition)
根据指定条件更新实体对象的非空字段。
|
| Modifier and Type | Method and Description |
|---|---|
Consumer<WhereCondition> |
ConditionPageInfo.getAppendWhere() |
| Modifier and Type | Method and Description |
|---|---|
PageHelper.GeneralPageHelper |
PageHelper.GeneralPageHelper.applyWhere(Consumer<WhereCondition> condition)
将查询条件应用到当前的分页查询中
|
| Constructor and Description |
|---|
ConditionPageInfo(PageInfo<T> pageInfo,
Consumer<WhereCondition> condition) |
| Modifier and Type | Method and Description |
|---|---|
static <C extends WhereCondition<C>> |
SqlUtils.matchSqlSelectBuilder(SelectSpecification selectSpecification) |
Copyright © 2024–2025 Dynamic-SQL. All rights reserved.