1
0
mirror of https://github.com/russ-p/sqlbuilder.git synced 2025-12-13 16:54:24 +00:00
Ruslan 8f23030c2c
All checks were successful
continuous-integration/drone/push Build is passing
Merge pull request #1 from russ-p/dependabot/maven/junit-junit-4.13.1
Bump junit from 4.12 to 4.13.1
2021-08-15 13:14:29 +03:00
2019-07-27 00:51:04 +03:00
2021-08-15 13:10:31 +03:00
2019-07-26 23:28:39 +03:00
2019-07-26 23:34:08 +03:00

sqlbuilder

simple sql builder

From

String sql = Sql.select()
    .column("id").as("col_id")
    .column("code").as("col_code")
    .from("test_table")
    .where("id = 1")
    .groupBy("id")
    .orderBy("id").by("code").desc()
    .toString();

to

SELECT
  id AS col_id,
  code AS col_code
FROM
  test_table
WHERE
  id = 1
GROUP BY
  id
ORDER BY id, code DESC
Description
No description provided
Readme 103 KiB
Languages
Java 100%