public class SqlFactory extends Object
Modifier and Type | Method and Description |
---|---|
static CountSql |
createCount(Mapper<?> mapper)
创建计数
|
static DeleteSql |
createDelete(Mapper<?> mapper)
创建删除
|
static InsertSql |
createInsert(Mapper<?> mapper)
创建插入
|
static <T> QuerySql<T> |
createQuery(Mapper<T> mapper)
创建搜索
|
static UpdateSql |
createUpdate(Mapper<?> mapper)
创建更新
|
public static <T> QuerySql<T> createQuery(Mapper<T> mapper)
T
- 模板类型mapper
- mapper对象public static CountSql createCount(Mapper<?> mapper)
mapper
- mapper对象public static DeleteSql createDelete(Mapper<?> mapper)
mapper
- mapper对象public static InsertSql createInsert(Mapper<?> mapper)
mapper
- mapper对象Copyright © 2020 IBIT程序猿. All rights reserved.