Home / 1.1.5
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2021-08-17 563 Bytes
Totals: 1 Item   563 Bytes 0

Enhance the sql helper

:::java
String sql = SqlBuilder.select("table name")

.where("fieldName = #{parameter fieldName}") // You can pass in multiple times where, SqlBuilder will automatically splice, save yourself the trouble of spelling strings
.where("and fieldName = #{parameter fieldName}")
.where("and fieldName = #{parameter fieldName}")

.end("order by fieldName asc   group by ffieldName") // Added the end method, you can write the sql at the end of sql, such as group by, limit, order by, etc.
.builder();
Source: README.md, updated 2021-08-17