public final class SqlStringHelper extends Object
| 构造器和说明 |
|---|
SqlStringHelper() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
getAggregateSql(String selectSql)
给出Aggregate SQL,就是把 Order by 字段 也放在 Select 字段中的SQL
|
static String |
getCountSql(String selectSql)
给出 统计总数的 SQL 从Sqlect语句中。
|
static String |
getDelSql(String selectSql)
给出 删除的 SQL 从Select语句中
|
static String |
getLoadObjectSql(String className) |
static String[] |
getOrderbyFields(String selectSql)
给出SQL的Orderby 字段
|
static void |
main(String[] args) |
public static String getDelSql(String selectSql)
selectSql - public static String getCountSql(String selectSql)
selectSql - public static String[] getOrderbyFields(String selectSql)
selectSql - public static String getAggregateSql(String selectSql)
selectSql - public static void main(String[] args)
Copyright © 2022. All rights reserved.