go-jet
5cbf4aac86
Add ability to change alias of all projections in the ProjectionList.
...
Add ability to exclude list of columns from ProjectionList.
2022-01-05 18:00:20 +01:00
go-jet
392ba63bc5
Add helper method to set ProjectionList alias.
2022-01-04 18:08:06 +01:00
go-jet
038a32b032
Add WITH RECURSIVE statement support
2022-01-04 18:08:06 +01:00
go-jet
001d64f1dc
Add BETWEEN operator support.
2022-01-04 17:58:10 +01:00
go-jet
3c866a0b6f
Add sub-query column alias bubling tests.
2021-12-28 17:18:10 +01:00
go-jet
01305a138f
Add automatic type cast for integer literals
...
In parameterized statements integer literals, like Int(num), are replaced with a placeholders. For some expressions,
postgres interpreter will not have enough information to deduce the type. If this is the case postgres returns an error.
Int8, Int16, Int32.... functions now will add automatic type cast over a placeholder, so type deduction is always possible.
2021-12-26 17:29:43 +01:00
go-jet
47545ce571
Add WITH RECURSIVE support.
2021-12-26 11:34:57 +01:00
go-jet
02123005c1
[QRM] Prevent recursive scan if destination contains circular dependency.
2021-12-26 11:34:57 +01:00
go-jet
7f54036b1a
Remove unused code.
2021-12-24 18:08:05 +01:00
go-jet
c0710bed29
Update go doc.
2021-12-24 17:13:13 +01:00
go-jet
b92af7ca6e
Update circle.ci
2021-12-19 18:25:55 +01:00
go-jet
972fc1d9bf
Add support for running integration tests with dockerized test databases.
2021-12-17 16:59:43 +01:00
go-jet
4d5abc85c6
Merge pull request #112 from kblomster/generator-mysql-5.7-support
...
generator: support MySQL 5.7
2021-12-15 11:48:59 +01:00
Karl Blomster
4d404d8853
generator: support MySQL 5.7
...
MySQL 5.7 does not support CTE's. Refactor the table column metadata
query to avoid the CTE.
2021-12-14 18:22:58 +01:00
go-jet
23aeb02e93
Update issue templates
2021-12-13 12:47:27 +01:00
go-jet
60ffd004c5
Add USING clause support for DELETE statements
2021-12-08 18:14:57 +01:00
go-jet
72e8d7d584
Add FROM clause support for UPDATE statements
2021-12-08 18:13:58 +01:00
go-jet
d335b6cdad
Merge pull request #99 from go-jet/develop
...
Release 2.6.0
2021-10-25 16:33:21 +02:00
go-jet
97c34fbb54
Update Readme.
2021-10-25 16:24:51 +02:00
go-jet
776f308273
Update Readme.
2021-10-22 18:21:42 +02:00
go-jet
a50d89ff9d
Add test for - Special characters are not working in postgres password(for generator)
...
https://github.com/go-jet/jet/issues/95
2021-10-22 18:08:05 +02:00
go-jet
f2e4b8551c
Update circle.ci
2021-10-21 18:15:54 +02:00
go-jet
84e120cbab
Test fix.
2021-10-21 17:35:29 +02:00
go-jet
e8f4c2b31b
Add SQLBuilder support for SQLite databases.
2021-10-21 13:40:26 +02:00
go-jet
d197956271
Avoid unnecessary double wrapping of SELECT statement when used as single function parameter.
2021-10-21 13:40:26 +02:00
go-jet
22b2901336
Move RETURNING clause to internal/jet so it can be reused for sqlite implementation.
2021-10-21 13:40:26 +02:00
go-jet
6080ae134f
QRM skip unnecessary new slice element copying.
2021-10-21 13:40:26 +02:00
go-jet
51cad22809
Add jet generator support for SQLite
2021-10-21 13:21:01 +02:00
go-jet
3f7efb33eb
Build fix.
2021-10-16 10:46:28 +02:00
go-jet
0d418890ab
Qrm refactor
...
- Allow custom types Scan method to read values returned by the driver rather then the value from intermediate Null types. Scan to intermidiate Null types removed.
- Better error handling
2021-10-15 17:43:10 +02:00
go-jet
555ec293fb
Add ability to exclude columns from ColumnList
2021-10-04 11:49:13 +02:00
go-jet
3015b79926
Add test for - Special characters are not working in postgres password(for generator)
...
https://github.com/go-jet/jet/issues/95
2021-10-04 10:48:07 +02:00
go-jet
8adfe45e38
Reuse generator logic between two generator functions.
2021-10-04 10:46:46 +02:00
go-jet
f30662e0b8
Build fix.
2021-09-24 11:53:03 +02:00
Mukundan Kidambi
a85eafd58c
fix: Fixing up postgres connection strings ( #96 )
2021-09-24 11:49:41 +02:00
mlaflamm
8d43829bc5
Revert scanContext.rowElemValuePtr func signature
2021-09-15 19:30:28 +02:00
mlaflamm
fee77b695a
Fix scan nil primitive type slice
2021-09-15 19:30:28 +02:00
vetcher
b31464e491
Review fixes
2021-09-02 11:29:55 +02:00
vetcher
5b7c34e333
Connection via DSN
2021-09-02 11:29:55 +02:00
go-jet
b0838999d6
Fix circle.ci.
2021-08-30 12:38:27 +02:00
go-jet
f92754e0e6
Merge branch 'develop' of https://github.com/go-jet/jet into develop
2021-08-30 12:24:58 +02:00
go-jet
419da1d1b0
Use PgPort from dbconfig.go.
2021-08-30 12:19:21 +02:00
go-jet
f696dca42c
Merge pull request #86 from mlaflamm/export-group-by
...
Export GroupByClause type through alias
2021-07-30 10:48:34 +02:00
mlaflamm
c47d79ffd7
export GroupByClause type through alias
2021-07-29 09:51:55 -04:00
go-jet
0017773d27
Merge remote-tracking branch 'upstream/master' into develop
2021-07-27 17:53:04 +02:00
go-jet
8864667f47
Add the ability to fully customize jet generated files.
2021-07-27 17:39:21 +02:00
go-jet
f0bf2c36b3
Merge pull request #78 from go-jet/develop
...
Merge develop to master for 2.5.0 release
2021-05-21 17:20:27 +02:00
go-jet
caa81930dc
Reset FROM clause list before new values are set.
2021-05-21 16:25:26 +02:00
go-jet
17e5e34111
Allow NUMERIC value scan into any number type
2021-05-21 16:09:29 +02:00
go-jet
cecdab1c67
Test fix.
2021-05-17 15:13:54 +02:00