public class SqlHelper extends Object
| 构造器和说明 |
|---|
SqlHelper() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
buildBackup(Backup backup)
生成backup sql语句
|
static String |
buildCopy(Copy copy)
生成copy sql语句
|
static String |
buildCreateSql(Create create)
生成create sql语句
|
static String |
buildDeleteSql(Delete delete)
生成delete sql语句
|
static String |
buildDrop(Drop drop)
生成drop sql语句
|
static String |
buildInsertSql(Insert insert)
生成insert sql语句
|
static String |
buildSelectSql(Select select)
生成select sql语句
|
static String |
buildUpdateSql(Update update)
生成update sql语句
|
static Integer[] |
pageParam(Select select)
各个数据库的分页参数
|
static String |
whereSql(CommonCondition commonCondition,
Object bean)
返回where语句
|
public static String buildUpdateSql(Update update)
update - SqlBeanExceptionpublic static String whereSql(CommonCondition commonCondition, Object bean)
commonCondition - bean - Copyright © 2023. All rights reserved.