Samir Faci
dbd23ed612
Addressing code review comments
2024-10-15 10:52:28 -04:00
Samir Faci
f7082eda68
Adding gosec and lint, fixing null_type overflow
...
ChangeLog:
- Adding gosec linting
- Adding static type to enum
- fixing nulltype overflow
- Trying out gotestsum as an alternative to go-junit-report.xml
2024-10-14 11:06:59 -04:00
go-jet
f9358ca8d2
Merge pull request #406 from safaci2000/feature/intervalSubmission
...
Improved support for intervals in postgres
2024-10-10 11:33:13 +02:00
Samir Faci
c0a0b450aa
Changing from Table Driven tests to subtests
2024-10-09 14:53:47 -04:00
Samir Faci
600e0a7ce7
Addressing code review comments and adding a query validation
2024-10-09 08:30:33 -04:00
Samir Faci
288ebdc373
Improved support for intervals in postgres
...
Fixes #393
2024-10-08 08:30:33 -04:00
go-jet
c30a3507e3
Fix build.
2024-10-07 20:23:25 +02:00
go-jet
31a6b9582a
Merge pull request #404 from safaci2000/feature/testTools
...
Replacing several test util function with a generic version
2024-10-07 20:07:55 +02:00
Samir Faci
a77ecc3a30
Addressing code review comments
2024-10-07 12:54:58 -04:00
Samir Faci
743df3ae7d
Updating mysql version to allow to run on OS X as well
2024-10-07 08:46:38 -04:00
Samir Faci
c2703558d7
Moving PtrOf to package internal/ptr
2024-10-06 09:04:10 -04:00
Samir Faci
99be328e9d
Replacing several test util function with a generic version
...
ChangeLog:
- updated several test utils with a generic PtrOf
- updated references using iotils (Deprecated) with os equivalent import.
2024-10-05 13:13:55 -04:00
Branislav Lazic
dfafd1482b
Add Postgres generate_series function
2024-09-29 14:55:05 +02:00
go-jet
d17ab3d080
Merge pull request #392 from VolkerLieber/master
...
Include postgres comments in output
2024-09-26 19:24:09 +02:00
Volker Lieber
b5f04ffea8
Improved postgres table comment generation
2024-09-26 14:33:23 +02:00
Volker Lieber
64884e4969
Extracted golang comment format function
2024-09-26 14:17:21 +02:00
Volker Lieber
30e02dc9c0
Implemented postgres generator comment tests
...
https://github.com/go-jet/jet-test-data/pull/6
2024-09-25 15:45:06 +02:00
Volker Lieber
0f21699a1f
Implemented postgres enum comment generation
2024-09-25 14:42:27 +02:00
Volker Lieber
ff82eb5df7
Implemented postgres table and enum comment generation
2024-09-24 20:41:27 +02:00
Volker Lieber
929109622e
Include postgres comments in output
...
#391
2024-09-24 13:23:47 +02:00
go-jet
6a0798eb06
Merge pull request #387 from safaci2000/feature/enums
...
Adding support for enum model AllValues
2024-09-23 20:03:19 +02:00
go-jet
1c42ff1b4f
Merge pull request #389 from BranislavLazic/add-pg-date-trunc
...
Add Postgres DATE_TRUNC function
2024-09-23 19:47:33 +02:00
Branislav Lazic
dce5fd6552
Add return type switching note
2024-09-23 09:11:53 +02:00
Samir Faci
d3ce39f275
Reverting circleci docker-compose
2024-09-22 16:12:43 -04:00
Samir Faci
4f80e0d36b
Addressing Code review comments
2024-09-22 09:44:13 -04:00
Branislav Lazic
b25b2aa213
Add Postgres DATE_TRUNC function
2024-09-20 09:47:40 +02:00
Samir Faci
eb57b8003f
Migrating circleci images from legacy to update cimg namespace
2024-09-18 12:20:08 -04:00
Samir Faci
42a37c09d0
Adding support for enum model AllValues
...
Fixes #368
ChangeLog:
- Updating test mysql version as it no longer exists.
- Add a simple validation test
2024-09-18 12:16:58 -04:00
go-jet
b835e25665
Merge pull request #377 from realrunner/bug/postgres-array-detection
...
Bug/postgres array detection
2024-08-31 11:20:57 +02:00
Mike Nelson
cf08bcd6f7
spacing
2024-08-28 11:46:35 -06:00
Mike Nelson
52df659318
test
2024-08-28 11:45:44 -06:00
Mike Nelson
882b4311b5
Fix Postgres column array detection
2024-08-28 11:09:16 -06:00
go-jet
02cc2127b8
Merge pull request #374 from azdagron/add-has-default
...
Add HasDefault column metadata
2024-08-17 19:31:23 +02:00
Andrew Harding
b7904cde4e
Add HasDefault column metadata
2024-08-13 14:52:54 -06:00
go-jet
adfa331ece
Merge remote-tracking branch 'upstream/master' into stmt-cache
2024-07-30 14:11:24 +02:00
go-jet
f55edafc0b
Merge pull request #367 from josephbuchma/projection-as-fix
...
fix ProjectionList{}.As method (issue #364 )
2024-07-27 11:30:20 +02:00
Yosyp Buchma
583ecba4a1
refactor: extracted common logic for column aliasing
2024-07-26 23:35:07 +02:00
Yosyp Buchma
c599fca5ea
New method: func (ColumnList) As(tableAlias string) ProjectionList
2024-07-26 14:10:20 +02:00
Yosyp Buchma
fb66fbd31c
fix ProjectionList{}.As method (issue #364 )
2024-07-26 14:10:20 +02:00
go-jet
f37af464f4
Merge pull request #340 from go-jet/dependabot/go_modules/github.com/go-sql-driver/mysql-1.8.1
...
Bump github.com/go-sql-driver/mysql from 1.8.0 to 1.8.1
2024-07-26 13:53:22 +02:00
go-jet
df548e69b6
Merge pull request #361 from mathieuk/chore/export-serializer
...
feat: export CustomExpression and Token for dialects to use
2024-07-14 13:14:58 +02:00
Mathieu Kooiman
6cabfcdc1a
feat: expose CustomExpression+Token in mysql/postgres/sqlite
2024-07-13 17:10:26 +02:00
Mathieu Kooiman
3ec0e2cabd
refactor: NewCustomExpression -> CustomExpression
2024-07-13 17:04:33 +02:00
Mathieu Kooiman
f48970d124
refactor: expose NewCustomExpression for dialects to use
2024-07-12 14:09:17 +02:00
go-jet
093f895db2
Fix failing test.
2024-07-03 11:56:59 +02:00
go-jet
7b4a060da0
Merge pull request #344 from go-jet/dependabot/go_modules/github.com/shopspring/decimal-1.4.0
...
Bump github.com/shopspring/decimal from 1.3.1 to 1.4.0
2024-07-03 11:38:37 +02:00
dependabot[bot]
172a822d96
Bump github.com/shopspring/decimal from 1.3.1 to 1.4.0
...
Bumps [github.com/shopspring/decimal](https://github.com/shopspring/decimal ) from 1.3.1 to 1.4.0.
- [Release notes](https://github.com/shopspring/decimal/releases )
- [Changelog](https://github.com/shopspring/decimal/blob/master/CHANGELOG.md )
- [Commits](https://github.com/shopspring/decimal/compare/v1.3.1...v1.4.0 )
---
updated-dependencies:
- dependency-name: github.com/shopspring/decimal
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-12 21:16:21 +00:00
go-jet
b13f6ab08d
Merge pull request #339 from kblomster/expose-binary-operator
...
Export BinaryOperator function
2024-03-28 18:04:01 +01:00
dependabot[bot]
523f780b02
Bump github.com/go-sql-driver/mysql from 1.8.0 to 1.8.1
...
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql ) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/go-sql-driver/mysql/releases )
- [Changelog](https://github.com/go-sql-driver/mysql/blob/v1.8.1/CHANGELOG.md )
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.8.0...v1.8.1 )
---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 21:49:42 +00:00
Karl Blomster
1d310624d8
Export BinaryOperator function
2024-03-26 15:49:17 +01:00