Commit graph

96 commits

Author SHA1 Message Date
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
980b9b6aac Add ON DUPLICATE KEY UPDATE support (MySQL). 2020-05-03 20:46:21 +02:00
go-jet
14e1863456 [postgres] Add support for ON CONFLICT clause 2020-04-12 18:53:57 +02:00
go-jet
3019fdbbb2 [bug] Escape reserved words used as identifier. 2020-02-16 10:25:21 +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
d2fbdb68e6 Add support for conditional constructed projection list. 2019-12-14 19:11:35 +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
4a3579e7f9 Postgres interval with date/time expression arithmetic. 2019-12-01 18:34:44 +01:00
go-jet
0b00a6b12c Some linter errors. 2019-12-01 18:34:44 +01:00
go-jet
e09c78dec3 New MIN/MAX functions that accepts any expression type. 2019-09-30 14:42:04 +02:00
go-jet
799737d602 [Breakable] ColumnList is reverted to be a slice.
ColumnList(...) -> ColumnList{...}
IColumnList is removed.
2019-09-26 12:31:03 +02:00
go-jet
b646dd2c99 Use type aliasing to forward types from internal/jet. 2019-09-26 11:44:46 +02:00
go-jet
1cc463477d Fix linter errors. 2019-09-20 19:54:56 +02:00
go-jet
f5287628aa Improve code coverage. 2019-09-20 13:55:07 +02:00
go-jet
5ba10d35db Added support for window clause and functions. 2019-09-17 13:34:47 +02:00
go-jet
a657b76bef The rest of linter errors. 2019-08-17 18:32:01 +02:00
go-jet
ab6d85f886 Postgres linter errors. 2019-08-17 14:49:35 +02:00
go-jet
46a3dc7dfb MySQL linter errors. 2019-08-17 10:43:16 +02:00
go-jet
ba5ee27990 Literal expressions clean up. 2019-08-16 11:19:06 +02:00
go-jet
e0a1eff493 MariaDB tests fix. 2019-08-15 13:54:05 +02:00
go-jet
bf3ec27f68 REGEXP_LIKE refactor. 2019-08-15 11:10:02 +02:00
go-jet
4ab9d73a8b Functions go doc. 2019-08-14 10:11:43 +02:00
go-jet
486e45db5c SQL Builder panics on invalid SQL.
Query execution panics on invalid destination.
2019-08-13 13:57:26 +02:00
go-jet
614c7e9754 Literal and cast clean up. 2019-08-13 10:16:26 +02:00
go-jet
9a34dc9fd7 Handle todos. 2019-08-12 12:27:33 +02:00
go-jet
d3d00910aa Test utils reuse. 2019-08-12 12:11:16 +02:00
go-jet
e02e08a6ba Remove visitor. 2019-08-12 10:16:08 +02:00
go-jet
ee4897a1e2 Jet internal refactor. 2019-08-11 14:29:03 +02:00
go-jet
4fbf576370 MySQL refactor. 2019-08-11 12:13:59 +02:00
go-jet
8519ccbdd0 Postgres refactor. 2019-08-11 09:52:02 +02:00
go-jet
d00167cbba Remove unnecessary operators. 2019-08-09 10:30:24 +02:00
go-jet
0ab25e4464 Update CircleCI to support MySQL 2019-08-08 17:13:20 +02:00
go-jet
d235385c2a MySQL UUID test.
RAW rename to Raw.
2019-08-06 13:29:26 +02:00
go-jet
cb606f9026 Cast dialect clean up. 2019-08-06 12:12:48 +02:00
go-jet
6ee2f45548 [New] Constructor for time types, that accepts time.Time. (TimeT, TimezT, DateT, ...) 2019-08-06 11:41:45 +02:00
go-jet
647ef21aaf Dialect refactor improvements and clean up. 2019-08-06 10:29:04 +02:00
go-jet
23fd973699 Package structure refactor. 2019-08-03 14:10:47 +02:00
go-jet
c342f296ca MySQL cast expressions. Simplified. 2019-08-01 10:39:57 +02:00
go-jet
53dbcd9bfc MySQL cast expressions. 2019-07-31 18:43:54 +02:00
go-jet
043a0dc4c0 MySQL generator support. 2019-07-27 10:40:30 +02:00