Commit graph

836 commits

Author SHA1 Message Date
go-jet
e2a78428ce CockroachDB test fix. 2025-10-17 14:12:13 +02:00
go-jet
89e93710aa Additional tests. 2025-10-17 13:41:08 +02:00
go-jet
4ee047a675 Add support for additional array types. 2025-10-16 15:09:07 +02:00
go-jet
45d4ced9b0 Merge branch 'arjen-ag5/master' into pg_arrays
# Conflicts:
#	generator/template/model_template.go
#	generator/template/sql_builder_template.go
#	internal/jet/expression.go
#	postgres/cast.go
#	postgres/columns.go
#	postgres/expressions.go
#	postgres/insert_statement_test.go
#	postgres/literal.go
#	tests/postgres/alltypes_test.go
#	tests/postgres/generator_template_test.go
#	tests/postgres/scan_test.go
#	tests/postgres/select_test.go
2025-10-16 13:44:18 +02:00
Arjen Brouwer
d3ada5361e Add support for postgres arrays 2025-10-16 13:32:18 +02:00
go-jet
afc4cee6d2
Merge pull request #516 from carsonkrueger/feat/json
add model json tag to args
2025-08-09 12:04:30 +02:00
Carson Krueger
94ce6424ce add test 2025-08-07 22:53:41 -06:00
Carson Krueger
d3f8754cbf add CamelToSnake 2025-08-07 08:48:53 -06:00
Carson Krueger
8f99948004 add more tests 2025-08-04 22:20:34 -06:00
Carson Krueger
ede9118a9a fix json tags for view models 2025-08-04 22:20:29 -06:00
Carson Krueger
9cc22af2dd add tests for model-json-tag 2025-08-03 22:19:14 -06:00
Carson Krueger
ba65c2ab0c add json tag support 2025-08-03 19:34:31 -06:00
go-jet
d375d06267
Merge pull request #511 from Andrei-hub11/fix/digit-schema-quote
fix: quote identifiers starting with numbers
2025-07-22 19:07:53 +02:00
Andrei-hub11
1e075e0c3f fix: correct rune handling in shouldQuoteIdentifier 2025-07-21 15:12:30 -03:00
Andrei-hub11
b6fa663315 fix: quote identifiers starting with numbers 2025-07-20 14:23:18 -03:00
go-jet
8667bca8fc
Merge pull request #504 from go-jet/dependabot/go_modules/github.com/go-sql-driver/mysql-1.9.3
Bump github.com/go-sql-driver/mysql from 1.9.0 to 1.9.3
2025-07-03 12:17:26 +02:00
go-jet
d17114bad9
Update FUNDING.yml 2025-07-03 12:07:22 +02:00
go-jet
feddefc07a
Merge pull request #506 from Sanjaiy/master
Added whitelist flags for generate command
2025-06-26 18:41:27 +02:00
SanjaiyKumar
b0636c27ca Renamed templateFilter allow property to ignore. Dropped the allow word from the vairbales. 2025-06-26 18:05:46 +05:30
SanjaiyKumar
85fdfb01b3 Renamed new flags name '-tables', '-views', and '-enums'. 2025-06-24 14:09:30 +05:30
SanjaiyKumar
dbfcec7fbe Renamed new flags '-allow-tables', '-allow-views', and '-allow-enums' description. 2025-06-18 16:08:51 +05:30
SanjaiyKumar
c35892320d Added unit test cases for the new flags '-allow-tables', '-allow-views', and '-allow-enums'. 2025-06-18 16:02:36 +05:30
SanjaiyKumar
bfb02acb43 Added new flags '-allow-tables', '-allow-views', and '-allow-enums' for whitelisting the tables, views, and enums while generate command. 2025-06-18 00:13:18 +05:30
go-jet
be59a88fc6
Merge pull request #503 from Sanjaiy/master
Excluded GENERATED ALWAYS VIRTUAL columns from mutable columns
2025-06-16 18:15:36 +02:00
dependabot[bot]
c71c14dffd
Bump github.com/go-sql-driver/mysql from 1.9.0 to 1.9.3
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.9.0 to 1.9.3.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/v1.9.3/CHANGELOG.md)
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.9.0...v1.9.3)

---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
  dependency-version: 1.9.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-13 21:40:18 +00:00
SanjaiyKumar
caf1088cd4 Added new table test_sample.people under mysql 2025-06-12 04:38:27 +05:30
SanjaiyKumar
59044a0521 Added new table test_sample.people under mysql 2025-06-12 04:32:37 +05:30
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