Commit graph

457 commits

Author SHA1 Message Date
go-jet
2ada2ff69b Add go mod support. 2020-06-27 18:48:19 +02:00
go-jet
6437e041ee
Merge pull request #41 from anisjonischkeit/patch-1
fix documentation for DESC()
2020-06-09 10:00:29 +02:00
Anis Jonischkeit
40eb2b80c4
fix documentation 2020-06-08 21:22:22 +10:00
go-jet
fdeef56d53 Remove go.mod support for now, because it requires breaking changes. 2020-06-03 08:36:03 +02:00
go-jet
b2c96f4419
Update README.md 2020-06-03 08:02:53 +02:00
go-jet
c3903948c8
Merge pull request #40 from go-jet/develop
Merge develop to master for 2.3.0 release
2020-06-03 07:28:40 +02:00
go-jet
63aa31925a Disable unsupported MariaDB tests. 2020-06-01 20:35:07 +02:00
go-jet
d19fdea86d Additional MySQL WITH statement tests. 2020-06-01 20:30:09 +02:00
go-jet
e54e8fcabf Rename LoggableStatement to PrintableStatement. 2020-06-01 18:22:24 +02:00
go-jet
cd3325054b Remove unused template function. 2020-06-01 17:21:52 +02:00
go-jet
b8d1f97cf5 Update generator version. 2020-05-31 20:15:17 +02:00
go-jet
aefa4a2ff6 Add go mod support. 2020-05-31 12:27:11 +02:00
go-jet
07251841aa
Update README.md 2020-05-31 11:16:26 +02:00
go-jet
0183117b72 Update quick start example. 2020-05-31 10:42:55 +02:00
go-jet
196989ab68 Update README.md. 2020-05-24 18:20:04 +02:00
go-jet
ac0fd9a6f6 Fix unit tests. 2020-05-24 18:09:16 +02:00
go-jet
f5fae577d7 [MySQL] Add support for WITH statements and Common Table Expressions. 2020-05-24 17:56:35 +02:00
go-jet
8aa894730c [PostgreSQL] Add support for WITH statements and Common Table Expressions. 2020-05-24 17:56:17 +02:00
go-jet
fb8607da29 Add support for WITH statements and Common Table Expressions. 2020-05-24 17:55:28 +02:00
go-jet
0d3ec872d6 Add support for automatic query logging. 2020-05-10 11:41:07 +02:00
go-jet
5d742837f1 Use testify/require instead of testify/assert for tests. 2020-05-09 11:00:22 +02:00
go-jet
ebcbadef24 Add new typesafe SET operator for UPDATE statement. 2020-05-09 10:49:09 +02:00
go-jet
a4b4710637 Generate different sql builder files for MySQL and PostgreSQL. 2020-05-03 21:30:57 +02:00
go-jet
980b9b6aac Add ON DUPLICATE KEY UPDATE support (MySQL). 2020-05-03 20:46:21 +02:00
go-jet
30284af33e Fix MariaDB build. 2020-05-02 22:26:08 +02:00
go-jet
926b88ed40 Add reserved words for MySQL. 2020-05-02 22:15:38 +02:00
go-jet
241ea0d6d6 Gen files idempotence test clean up. 2020-04-13 10:18:14 +02:00
go-jet
9d112c7fe7 Merge remote-tracking branch 'remotes/upstream/idempotency-gen' into develop 2020-04-13 10:01:06 +02:00
go-jet
14e1863456 [postgres] Add support for ON CONFLICT clause 2020-04-12 18:53:57 +02:00
go-jet
e626384d0b Remove timestamp from generated files. 2020-03-03 17:16:42 +01:00
go-jet
eea776a1ac
Merge pull request #32 from go-jet/develop
Interval type support. Sample usage can be seen here.
Datetime arithmetic with interval types.
Dynamic projection list support. Sample usage.
[bug] Escape reserved words used as identifier(issue).
[bug] Fix crash on generating enum SQL Builder files when database enum contains numeric values(issue).
2020-02-17 20:08:39 +01:00
go-jet
4c6caa403e Test sample for dynamic projection and dynamic condition. 2020-02-16 17:35:39 +01:00
go-jet
3019fdbbb2 [bug] Escape reserved words used as identifier. 2020-02-16 10:25:21 +01:00
go-jet
63c1fd6430 [bug] Fix crash on generating enum sql builder files when enum contains numeric values. 2020-02-15 11:20:51 +01:00
go-jet
f154701e60 Update circleci config.yml 2020-02-11 10:36:46 +01:00
go-jet
bf66e151ac Replace gotest.tools with github.com/stretchr/testify. 2020-02-11 10:33:00 +01:00
go-jet
3efbb0ccd9 Replace gotest.tools with github.com/stretchr/testify. 2020-02-11 10:25:13 +01:00
go-jet
3013dc3647 Add support for PostgreSQL interval column 2020-02-09 18:37:48 +01:00
go-jet
641c62098c Update comments. 2019-12-21 16:50:16 +01:00
go-jet
6e446ee100 Update Readme.md 2019-12-21 16:01:16 +01:00
go-jet
ca66c36559 Merge remote-tracking branch 'remotes/upstream/master' into develop 2019-12-21 15:59:03 +01:00
go-jet
d2fbdb68e6 Add support for conditional constructed projection list. 2019-12-14 19:11:35 +01:00
go-jet
74725e8e11 Clean up. 2019-12-14 18:32:40 +01:00
go-jet
d5ba193551 Merge remote-tracking branch 'remotes/upstream/interval' into develop 2019-12-14 18:30:05 +01:00
go-jet
2487c48428 Fix linter errors. 2019-12-08 11:07:49 +01:00
go-jet
57aa62f483 Simplified creation of operator expression. 2019-12-07 18:54:30 +01:00
go-jet
a2fbc4f53a Add postgres interval cast. 2019-12-07 13:52:51 +01:00
go-jet
bdb6befab1
Update README.md 2019-12-06 15:21:55 +01:00
go-jet
4a3579e7f9 Postgres interval with date/time expression arithmetic. 2019-12-01 18:34:44 +01:00
go-jet
d1970b3a55 MySQL interval with date/time expression arithmetic. 2019-12-01 18:34:44 +01:00