七、Columns类
name -> `name`
table.name -> table.`name`
name as n -> `name` as n
name n -> `name` n
table.name as n -> table.`name` as n1.初始化
public static Columns of(String... fields) {}
public static Columns of(List<Field> fieldList) {}
// 获取表tableName的所有列名
public static Columns from(Neo neo, String tableName) {}
// 获取某个类的所有列
public static Columns from(Class tClass) {}
// 根据类型转换获取类的属性转换
public static Columns from(Class tClass, NamingChg namingChg) {}
// 设置列的前缀,和cs(String... cs)结合使用,用于表示列的前缀
public static Columns table(String tableName){}
public static Columns table(String tableName, Neo neo){}2.多表的处理
3.表所有列处理
4.列别名处理
4.表别名处理
Last updated