| 程序包 | 说明 |
|---|---|
| com.feingto.cloud.data.mongodb | |
| com.feingto.cloud.data.mongodb.bean |
| 限定符和类型 | 方法和说明 |
|---|---|
List<T> |
BaseService.findAll(Condition condition) |
List<T> |
IBase.findAll(Condition condition)
根据条件查询全部
|
List<T> |
BaseService.findAll(Condition condition,
OrderSort sort) |
List<T> |
IBase.findAll(Condition condition,
OrderSort sort)
根据条件查询全部
|
Page<T> |
BaseService.findByPage(Condition condition,
Page<T> page) |
Page<T> |
IBase.findByPage(Condition condition,
Page<T> page)
根据条件分页查询
|
| 限定符和类型 | 方法和说明 |
|---|---|
Condition |
Condition.and(String property,
Condition condition) |
Condition |
Condition.between(String property,
Object lo,
Object hi) |
static Condition |
Condition.build() |
Condition |
Condition.elike(String property,
Object value) |
Condition |
Condition.eq(String property,
Object value) |
Condition |
Condition.gt(String property,
Object value) |
Condition |
Condition.gte(String property,
Object value) |
Condition |
Condition.in(String property,
Collection<?> values) |
Condition |
Condition.like(String property,
Object value) |
Condition |
Condition.lt(String property,
Object value) |
Condition |
Condition.lte(String property,
Object value) |
Condition |
Condition.ne(String property,
Object value) |
Condition |
Condition.notIn(String property,
Collection<?> values) |
Condition |
Condition.or(String property,
Condition condition) |
Condition |
Condition.slike(String property,
Object value) |
| 限定符和类型 | 方法和说明 |
|---|---|
Condition |
Condition.and(String property,
Condition condition) |
Condition |
Condition.or(String property,
Condition condition) |
Copyright © 2020. All rights reserved.