Commit graph

731 commits

Author SHA1 Message Date
go-jet
6e597a3179 Additional generator tests. 2023-07-21 17:18:02 +02:00
go-jet
12509eaf44 Additional generator tests. 2023-07-21 17:10:39 +02:00
go-jet
d7a5adb239 Break utils package into subpackages. 2023-07-21 14:11:31 +02:00
go-jet
06ecd73f67 Improve generator error handling 2023-07-21 13:20:44 +02:00
dependabot[bot]
8bbfa2c290
Bump github.com/jackc/pgconn from 1.14.0 to 1.14.1
Bumps [github.com/jackc/pgconn](https://github.com/jackc/pgconn) from 1.14.0 to 1.14.1.
- [Changelog](https://github.com/jackc/pgconn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgconn/compare/v1.14.0...v1.14.1)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgconn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 21:10:23 +00:00
go-jet
b38b63d804 Add support for automatic jet version update. 2023-07-20 13:18:35 +02:00
go-jet
e31e30b7f7 Bug225: Add more MultipleNestedAliasedSlices test 2023-07-20 12:09:38 +02:00
go-jet
75fbc1baaf Bug225: Incorrect scan for duplicate aliased subtype slice. 2023-07-19 14:24:25 +02:00
dependabot[bot]
16258ee18b
Bump github.com/go-sql-driver/mysql from 1.7.0 to 1.7.1
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.7.0...v1.7.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>
2023-04-25 21:59:33 +00:00
go-jet
0a7e0b5392 Expose internal RawBool type 2023-04-17 12:46:11 +02:00
go-jet
a428981a2d Expose internal jet.Rows type 2023-04-17 12:01:01 +02:00
go-jet
c049675831
Merge pull request #228 from go-jet/dependabot/go_modules/github.com/lib/pq-1.10.8
Bump github.com/lib/pq from 1.10.7 to 1.10.8
2023-04-17 11:20:19 +02:00
go-jet
3e17c9219f Clean up. 2023-04-17 11:12:37 +02:00
dependabot[bot]
a1bb6f2440
Bump github.com/lib/pq from 1.10.7 to 1.10.8
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.7 to 1.10.8.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.7...v1.10.8)

---
updated-dependencies:
- dependency-name: github.com/lib/pq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-14 21:59:30 +00:00
go-jet
65e02fa87d Small optimizations. 2023-04-14 12:20:36 +02:00
go-jet
73d7e4823c Update test. 2023-04-14 12:13:09 +02:00
go-jet
14bd3b6c3b Fix for bug226.
Add struct fieldName to groupKey to have a unique groupKey for each field object.
2023-04-13 10:46:46 +02:00
go-jet
c7962aba71 Add bug226 test. 2023-04-10 20:14:55 +02:00
go-jet
b520a61b6e Test clean up.
Upgrade dependencies.
2023-04-06 11:26:09 +02:00
go-jet
ebfaa62e93 Update tests for the same enum in two different schema. 2023-04-04 12:36:22 +02:00
go-jet
9cf1205acf Update tests for the same enum in two different schema. 2023-04-04 12:35:50 +02:00
go-jet
5e34bef288 Add more UseSchema tests.
Rename newly generated file to avoid potentional conflict with tables named table or views named view.
2023-04-02 13:58:44 +02:00
go-jet
a9aa25416a Test data update. 2023-03-31 14:50:01 +02:00
go-jet
7b36f31cad Include mysql column comments into generated types 2023-03-31 14:43:47 +02:00
go-jet
fa69565dbf Add support for postgres GROUPING SET, ROLLUP and CUBE grouping operators
Add support for mysql WITH ROLLUP grouping operator
Add support for GROUPING operator
2023-03-28 13:16:57 +02:00
go-jet
31dc7b6dd3
Merge pull request #201 from go-jet/dependabot/go_modules/github.com/google/go-cmp-0.5.9
Bump github.com/google/go-cmp from 0.5.8 to 0.5.9
2023-02-10 22:38:58 +01:00
go-jet
ccf45b4fb5
Merge pull request #202 from go-jet/dependabot/go_modules/github.com/stretchr/testify-1.8.1
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1
2023-02-03 17:58:52 +01:00
go-jet
ec3adb3d88
Merge pull request #210 from rangzen/fix-postgres-mutablecolumns-isgenerated
fix generated columns in mutable columns for PostgreSQL
2023-02-01 18:42:35 +01:00
Cedric L'homme
2f10233420 Update testdata 2023-02-01 12:33:51 -05:00
Cedric L'homme
33e86cd04b Fix constant in CockroachDB 2023-02-01 12:33:25 -05:00
Cedric L'homme
5d84197a87 Update submodule jet-test-data 2023-01-31 13:07:36 -05:00
Cedric L'homme
a1088ead17 Move back to test_sample 2023-01-30 15:01:08 -05:00
Cedric L'homme
a4191b4953 fix generated columns in mutable columns for PostgreSQL
Fix https://github.com/go-jet/jet/issues/209.
2023-01-30 10:42:06 -05:00
go-jet
ce3c622fa4
Merge pull request #207 from go-jet/dependabot/go_modules/github.com/lib/pq-1.10.7
Bump github.com/lib/pq from 1.10.5 to 1.10.7
2023-01-24 18:08:12 +01:00
dependabot[bot]
46c8bfcdce
Bump github.com/stretchr/testify from 1.8.0 to 1.8.1
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.8.0 to 1.8.1.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.8.0...v1.8.1)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-22 16:33:06 +00:00
dependabot[bot]
78e7e8904c
Bump github.com/google/go-cmp from 0.5.8 to 0.5.9
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.8...v0.5.9)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-22 16:32:57 +00:00
go-jet
a389daf005
Merge pull request #203 from go-jet/dependabot/go_modules/github.com/pkg/profile-1.7.0
Bump github.com/pkg/profile from 1.6.0 to 1.7.0
2023-01-22 17:32:12 +01:00
dependabot[bot]
32c12926f9
Bump github.com/lib/pq from 1.10.5 to 1.10.7
Bumps [github.com/lib/pq](https://github.com/lib/pq) from 1.10.5 to 1.10.7.
- [Release notes](https://github.com/lib/pq/releases)
- [Commits](https://github.com/lib/pq/compare/v1.10.5...v1.10.7)

---
updated-dependencies:
- dependency-name: github.com/lib/pq
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-17 21:08:30 +00:00
dependabot[bot]
fd6daeef70
Bump github.com/pkg/profile from 1.6.0 to 1.7.0
Bumps [github.com/pkg/profile](https://github.com/pkg/profile) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/pkg/profile/releases)
- [Commits](https://github.com/pkg/profile/compare/v1.6.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/pkg/profile
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-17 17:59:48 +00:00
go-jet
8be2f8b9c3 Update mysql driver to v1.7.0 2023-01-17 18:50:09 +01:00
go-jet
82442967ac Update README.md. 2023-01-17 18:45:20 +01:00
go-jet
48b4725375 Update go-sqlite3 to version v1.14.16 2023-01-17 18:41:04 +01:00
go-jet
ec2fa3cb93
Merge pull request #174 from go-jet/dependabot/go_modules/github.com/jackc/pgx/v4-4.17.2
Bump github.com/jackc/pgx/v4 from 4.16.0 to 4.17.2
2022-12-19 12:27:43 +01:00
dependabot[bot]
e197530036
Bump github.com/jackc/pgx/v4 from 4.16.0 to 4.17.2
Bumps [github.com/jackc/pgx/v4](https://github.com/jackc/pgx) from 4.16.0 to 4.17.2.
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgx/compare/v4.16.0...v4.17.2)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgx/v4
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-12-17 18:56:45 +00:00
go-jet
88f4935681
Merge pull request #156 from go-jet/dependabot/go_modules/github.com/google/uuid-1.3.0
Bump github.com/google/uuid from 1.1.1 to 1.3.0
2022-12-17 19:55:59 +01:00
go-jet
b80fb5df94
Merge pull request #197 from emarj/custom-types-indexes-pk
Allow custom types as indexes when joining tables
2022-12-17 19:49:52 +01:00
Marco Ronchese
31cddca786 add additional test 2022-12-17 17:21:46 +01:00
Marco Ronchese
68dbbabb99 fixing test 2022-12-17 17:19:34 +01:00
Marco Ronchese
78ed3fdb13 adding test and cleaning up 2022-12-16 23:17:26 +01:00
Marco Ronchese
192826c456 allow custom types as indexes when joining tables 2022-12-16 13:09:46 +01:00