Commit graph

847 commits

Author SHA1 Message Date
go-jet
da6253215f
Merge pull request #490 from go-jet/dependabot/go_modules/golang.org/x/crypto-0.35.0
Bump golang.org/x/crypto from 0.31.0 to 0.35.0
2025-04-18 12:49:29 +02:00
go-jet
d621dcb129 go.mod tidy 2025-04-18 12:40:41 +02:00
go-jet
d7b395c2fe go.mod tidy 2025-04-18 12:37:11 +02:00
dependabot[bot]
aae1041e59
Bump golang.org/x/crypto from 0.31.0 to 0.35.0
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.31.0 to 0.35.0.
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.35.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.35.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-17 10:58:26 +00:00
dependabot[bot]
cb1bca151d
Bump github.com/mattn/go-sqlite3 from 1.14.24 to 1.14.28
Bumps [github.com/mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) from 1.14.24 to 1.14.28.
- [Release notes](https://github.com/mattn/go-sqlite3/releases)
- [Commits](https://github.com/mattn/go-sqlite3/compare/v1.14.24...v1.14.28)

---
updated-dependencies:
- dependency-name: github.com/mattn/go-sqlite3
  dependency-version: 1.14.28
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-16 21:08:47 +00:00
Josh Kaplinsky
0d361c8863
chore: remove unit tests 2025-04-14 08:36:13 -04:00
Josh Kaplinsky
e8e4cfc1e0
chore: add unit tests for code cov 2025-04-10 09:28:51 -04:00
Josh Kaplinsky
436a72ae5c
feat: skip model and sql gen options in cli 2025-04-10 09:02:23 -04:00
go-jet
6c1224017d
Merge pull request #481 from go-jet/donate
Add ways to donate.
2025-04-05 14:49:55 +02:00
go-jet
c7a7130f8b Add ways to donate. 2025-04-05 14:35:35 +02:00
go-jet
a366feb01d
Merge pull request #476 from markvai/fix-custom-type-parameter-gen
Add a field for additional imports when using generic types
2025-04-02 12:36:47 +02:00
markvai
0947de0628 Add the ability to use custom generic types with non std inner types
- fix #442

- Since handling all edge cases for generic type parsing is not trivial, users will specify the fields manually.
- To support more than one import per type, add an additional field for extra imports per type.

- Add examples for defining those types in the current tests that show how to define custom types.
2025-03-31 21:24:54 +03:00
go-jet
51c269f200
Merge pull request #477 from go-jet/sonic-bug-fix
Uncomment TestNorthwindJoinEverythingJsonSonic since sonic library bug is fixed now.
2025-03-31 20:15:16 +02:00
go-jet
acd1aa2078 Uncomment TestNorthwindJoinEverythingJsonSonic since sonic library bug is fixed now. 2025-03-31 20:04:31 +02:00
go-jet
a8c468bc8a
Merge pull request #470 from go-jet/dependabot/go_modules/github.com/bytedance/sonic-1.13.2
Bump github.com/bytedance/sonic from 1.13.1 to 1.13.2
2025-03-31 19:59:48 +02:00
dependabot[bot]
959811b120
Bump github.com/bytedance/sonic from 1.13.1 to 1.13.2
Bumps [github.com/bytedance/sonic](https://github.com/bytedance/sonic) from 1.13.1 to 1.13.2.
- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](https://github.com/bytedance/sonic/compare/v1.13.1...v1.13.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-21 21:06:32 +00:00
go-jet
06530363f5
Merge pull request #458 from switchupcb/patch-1
remove redundant call in filesys RemoveDir
2025-03-16 18:50:17 +01:00
go-jet
fb7c376ba5
Update Readme.md (#464) 2025-03-16 12:54:32 +01:00
go-jet
a3fc2d8832
Merge pull request #463 from go-jet/columnlist-set
Add support for assigning one ColumnList to another in INSERT and UPDATE queries.
2025-03-13 13:58:15 +01:00
go-jet
34ee39ca2a Upgrade jet generator version. 2025-03-13 13:37:27 +01:00
go-jet
4fcc99f48f Add support for assigning one ColumnList to another in INSERT and UPDATE queries. 2025-03-13 13:05:35 +01:00
go-jet
c9e6fb1f75
Merge pull request #462 from go-jet/columnlist-from
Add support for exporting a ColumnList from a subquery.
2025-03-13 12:56:40 +01:00
go-jet
85ea908285 Add support for exporting a ColumnList from a subquery. 2025-03-13 12:45:01 +01:00
SwitchUpCB
77dc0bcb57 remove unused
https://github.com/go-jet/jet/pull/458#discussion_r1986128416
2025-03-11 15:39:22 +00:00
go-jet
13ad686ac4
Merge pull request #460 from go-jet/json-unmrsh
Add support for configuring the JSON unmarshal function used when querying SELECT_JSON statements.
2025-03-11 13:50:35 +01:00
go-jet
1db6b12074 Add support for configuring the JSON unmarshal function used when querying SELECT_JSON statements. 2025-03-11 13:33:39 +01:00
go-jet
7ab44bc61c
Merge pull request #459 from go-jet/strict-scan
Add support for strict scan.
2025-03-11 11:08:53 +01:00
go-jet
d86f14e665 Add support for strict scan.
If there are unused columns in query result set Query method panics.
2025-03-11 10:50:06 +01:00
go-jet
cfc264221b Rename the parent pointer to root, as the pointer often references expression multiple layers above the current expression. 2025-03-09 19:06:17 +01:00
go-jet
1f3215c879
Merge pull request #457 from go-jet/select_json
Add support for SELECT_JSON statements
2025-03-09 18:43:49 +01:00
go-jet
ac3275dcb0 Fix test. 2025-03-09 18:35:34 +01:00
go-jet
03af2665ea Merge branch 'master' into select_json
# Conflicts:
#	tests/postgres/alltypes_test.go
2025-03-09 18:32:20 +01:00
go-jet
97f1b46352 Revert go version change and mariadb. 2025-03-09 18:22:31 +01:00
go-jet
950b33191e Remove QueryJson statements method to avoid potential misuse. 2025-03-09 17:46:34 +01:00
go-jet
3155f99f0e
Merge pull request #455 from go-jet/dependabot/go_modules/github.com/go-sql-driver/mysql-1.9.0
Bump github.com/go-sql-driver/mysql from 1.8.1 to 1.9.0
2025-03-08 19:29:03 +01:00
go-jet
12c96116d0 Remove 3rdparty/json. 2025-03-08 19:09:58 +01:00
go-jet
17646ca99c Encode json values implicitly in the sql queries according the golang json package spec. 2025-03-08 19:01:37 +01:00
go-jet
685f13e554
Merge pull request #456 from go-jet/dependabot/go_modules/github.com/google/go-cmp-0.7.0
Bump github.com/google/go-cmp from 0.6.0 to 0.7.0
2025-03-07 11:47:17 +01:00
SwitchUpCB
ec4bf00276
remove redudant call in filesys RemoveDir 2025-03-06 16:33:14 -06:00
go-jet
33c1d9e663 Reintroduce Uint64 literal constructor for postgres dialect. 2025-03-04 19:57:42 +01:00
go-jet
9616bb5cfe Separate postgres, mysql and sqlite database init from mariadb and cockroachdb. 2025-03-02 14:57:26 +01:00
go-jet
74f48fc567 Fix mariadb HasDefault column. 2025-03-02 14:45:41 +01:00
go-jet
48ff221747 mysql set traditional sql mode 2025-03-01 20:06:54 +01:00
go-jet
4b0f6960a8 mysql strict mode. 2025-03-01 19:54:32 +01:00
go-jet
dea09d49e8 Test fix. 2025-03-01 19:40:23 +01:00
go-jet
5103e0f1ab Debug circle.ci 2025-03-01 19:00:57 +01:00
go-jet
27e6cc1604 Tests fix. 2025-03-01 18:23:27 +01:00
go-jet
c94216ab0e Add support for blob expressions. 2025-02-28 18:23:15 +01:00
go-jet
26e478dc7e Fix code scanner build. 2025-02-24 11:39:01 +01:00
go-jet
6fe2f8605e Fix tests and update circle.ci 2025-02-24 11:30:47 +01:00