Package tech.harmonysoft.oss.sql.dsl
Class Sql
-
- All Implemented Interfaces:
public class Sql
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSql.Select
-
Method Summary
-
-
Method Detail
-
replaceColumns
abstract Sql replaceColumns(Map<String, String> columns)
Allows creating an Sql object made from the current one but with replace column names (if any).
For example, suppose that we have sql like
select a, b from t where a > 1 order by ainitially and call this method withmapOf("a" to "x"). Resulting sql would beselect x, b from t where x > 1 order by x
-
-
-
-