Aleksander Zaruczewski
157445026c
Fix warnings and typos
2022-02-17 16:07:23 +03:00
Huan Du
5cf00e9d1d
add ORDER BY 1 for SQL Server if Limit() is set but OrderBy() is not
2021-07-27 22:46:02 +08:00
Huan Du
3e007c306f
refs #64 add SQLServer flavor
2021-07-25 03:28:33 +08:00
Huan Du
b15ca56b4d
refs #48 #49 #53 : add new method SQL in all builders
...
All builders add a new method called SQL to enable us to add any
arbitrary SQL when building. It's quite useful when we are using some
kinds of extension syntax or add special comments in SQL.
2021-02-04 00:07:55 +08:00
Huan Du
402f354140
fix #35 . do not escape cols by default.
2019-10-25 18:32:34 +08:00
Florian Lechner
867c0124b5
added test case for limit offset
2019-07-21 12:19:07 +02:00
Huan Du
5e6c0741f7
fix #13 . SelectBuilder supports Join and JoinWithOption.
2018-11-23 16:37:46 +08:00
Huan Du
f039956b9d
add SelectBuilder#BuilderAs to make embedding builders easier
2017-12-31 20:38:03 +08:00
Huan Du
59e26deed3
provide Flatten; support sql.NamedArg
2017-12-28 18:26:21 +08:00
Huan Du
40f9bb99c7
support nested sql
2017-12-28 12:19:50 +08:00
Huan Du
be8a7cbb32
support DISTINCT
2017-12-28 01:39:42 +08:00
Huan Du
8193c41814
add tests and doc
2017-12-28 01:33:30 +08:00