| 限定符和类型 | 方法和说明 |
|---|---|
QueryParamEntity |
QueryParamEntity.clone() |
QueryParamEntity |
QueryParamEntity.noPaging() |
static QueryParamEntity |
QueryParamEntity.of()
创建一个空的查询参数实体,该实体无任何参数.
|
static QueryParamEntity |
QueryParamEntity.of(String field,
Object value) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> org.hswebframework.ezorm.core.dsl.Query<T,QueryParamEntity> |
QueryParamEntity.newQuery() |
<T> org.hswebframework.ezorm.core.dsl.Query<T,QueryParamEntity> |
QueryParamEntity.toNestQuery()
将已有的条件包装到一个嵌套的条件里,并返回一个Query对象.例如:
entity.toNestQuery().and("userId",userId);
原有条件: name=?
|
<T> org.hswebframework.ezorm.core.dsl.Query<T,QueryParamEntity> |
QueryParamEntity.toNestQuery(java.util.function.Consumer<org.hswebframework.ezorm.core.dsl.Query<T,QueryParamEntity>> before)
将已有的条件包装到一个嵌套的条件里,并返回一个Query对象.例如:
entity.toNestQuery(query->query.and("userId",userId));
原有条件: name=?
|
<T> org.hswebframework.ezorm.core.dsl.Query<T,QueryParamEntity> |
QueryParamEntity.toQuery() |
| 限定符和类型 | 方法和说明 |
|---|---|
<T> org.hswebframework.ezorm.core.dsl.Query<T,QueryParamEntity> |
QueryParamEntity.toNestQuery(java.util.function.Consumer<org.hswebframework.ezorm.core.dsl.Query<T,QueryParamEntity>> before)
将已有的条件包装到一个嵌套的条件里,并返回一个Query对象.例如:
entity.toNestQuery(query->query.and("userId",userId));
原有条件: name=?
|
Copyright © 2016–2020. All rights reserved.