Here are the examples of the java api com.blade.jdbc.core.OrderBy.of() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
19
Source : MetasService.java
with MIT License
from tfssweb
with MIT License
from tfssweb
/**
* 根据类型查询项目列表
*
* @param type 类型,tag or category
*/
public List<Metas> getMetas(String type) {
if (StringKit.isNotBlank(type)) {
return new Metas().where("type", type).findAll(OrderBy.of("sort desc, mid desc"));
}
return null;
}