| Package | Description |
|---|---|
| me.gaigeshen.mybatis.helper |
| Modifier and Type | Method and Description |
|---|---|
Condition<T> |
Condition.asc(java.lang.String property)
Set order by asc
|
Condition<T> |
Condition.clear()
Clear all criterions, page, size, order and sort values
|
static <E extends Entity<?>> |
Condition.create(java.lang.Class<E> type) |
static <E extends Entity<?>> |
Condition.create(java.lang.Class<E> type,
int page,
int size) |
Condition<T> |
Condition.desc(java.lang.String property)
Set order by desc
|
Condition<T> |
Condition.Criteria.end() |
Condition<T> |
Condition.page(int page)
Set page parameter
|
Condition<T> |
Condition.size(int size)
Set size parameter
|
| Modifier and Type | Method and Description |
|---|---|
long |
Dao.count(Condition<T> condition)
Returns records count by conditions
|
void |
Dao.delete(Condition<T> condition)
Delete by conditions
|
boolean |
Dao.exists(Condition<T> condition)
Check exists by conditions
|
java.util.List<T> |
Dao.find(Condition<T> condition)
Find by conditions
|
T |
Dao.findFirst(Condition<T> condition)
Find first record by conditions
|
default PageData<T> |
Dao.sliceup(Condition<T> condition)
Returns paged entities by conditions
|
Copyright © 2019. All Rights Reserved.