Commit graph

897 commits

Author SHA1 Message Date
go-jet
e715b13615
Merge pull request #411 from houten11/update-dep
Update go-sqlite3 driver to version v1.14.24
2024-10-18 13:54:04 +02:00
houten11
595caaf661 Update go-sqlite3 driver to version v1.14.24 2024-10-18 12:06:01 +02:00
go-jet
369c657f85
Merge pull request #410 from go-jet/row-exp
Add support for ROW expressions and VALUES statement
2024-10-17 19:31:37 +02:00
go-jet
8d112f7db8 Add support for VALUES statement. 2024-10-17 14:17:22 +02:00
go-jet
3fcbbec427 Add support for Row expression. 2024-10-17 14:17:22 +02:00
go-jet
58a386a3dd
Merge pull request #407 from safaci2000/feature/scanners
Fixing various security issues and updating null_types to handle over…
2024-10-16 14:37:08 +02:00
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