Commit graph

809 commits

Author SHA1 Message Date
SanjaiyKumar
a56447d1fc Excluded GENERATED ALWAYS VIRTUAL columns from mutable columns 2025-06-12 04:22:37 +05:30
go-jet
b23388d2fd
Merge pull request #501 from go-jet/dependabot/go_modules/github.com/bytedance/sonic-1.13.3
Bump github.com/bytedance/sonic from 1.13.2 to 1.13.3
2025-06-06 09:34:14 +02:00
dependabot[bot]
556f2e2b63
Bump github.com/bytedance/sonic from 1.13.2 to 1.13.3
Bumps [github.com/bytedance/sonic](https://github.com/bytedance/sonic) from 1.13.2 to 1.13.3.
- [Release notes](https://github.com/bytedance/sonic/releases)
- [Commits](https://github.com/bytedance/sonic/compare/v1.13.2...v1.13.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-03 21:07:02 +00:00
go-jet
c73dc5f317
Update README.md 2025-05-27 12:20:21 +02:00
go-jet
622b05a641
Merge pull request #488 from go-jet/dependabot/go_modules/github.com/mattn/go-sqlite3-1.14.28
Bump github.com/mattn/go-sqlite3 from 1.14.24 to 1.14.28
2025-05-18 18:27:54 +02:00
go-jet
872421c13d Update FUNDING.yml 2025-04-26 15:07:47 +02:00
go-jet
fc7e290682
Merge pull request #494 from go-jet/develop
Merge develop to master
2025-04-26 14:55:26 +02:00
go-jet
3f52b182b5 Merge remote-tracking branch 'upstream/master' into develop 2025-04-26 14:37:08 +02:00
go-jet
6813237d4e Merge branch 'master' into develop 2025-04-26 14:36:22 +02:00
go-jet
8bcf8824ea Add FUNDING.yml 2025-04-26 14:17:56 +02:00
go-jet
30e1077719
Merge pull request #484 from joshkaplinsky/joshkaplinsky/skip-gen-cli
feat: add support for skipping model and sql builder in CLI
2025-04-20 13:13:47 +02:00
Josh Kaplinsky
5c4068dec3
chore: add ShouldSkip to generator template tests 2025-04-18 08:21:02 -04:00
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