go-jet
f20bf50879
Support additional unmarshal formats.
...
- Additional time formats supported
- Support for hex format binary string unmarshal
- Support for base64 format with prefix
- Support for unmarshalling "0" and "1" to boolean value
2025-02-22 18:28:25 +01:00
dependabot[bot]
71f0a2c776
Bump github.com/google/go-cmp from 0.6.0 to 0.7.0
...
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/google/go-cmp/releases )
- [Commits](https://github.com/google/go-cmp/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-21 21:17:24 +00:00
go-jet
c93c9f2888
Add encoding/json from standard library
2025-02-21 19:58:26 +01:00
go-jet
7b16e432ff
Add support for SELECT_JSON statements.
2025-02-21 19:55:01 +01:00
go-jet
7047de44a9
Merge pull request #452 from Hasaber8/feature/448
...
feature: Add support for LIMIT query in UPDATE for sql/sqlite
2025-02-20 14:59:38 +01:00
dependabot[bot]
04319bb3f1
Bump github.com/go-sql-driver/mysql from 1.8.1 to 1.9.0
...
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql ) from 1.8.1 to 1.9.0.
- [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.8.1...v1.9.0 )
---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-02-19 21:51:34 +00:00
Rohan Hasabe
d733f9688e
feature: Add support for LIMIT query in UPDATE for sql
...
Signed-off-by: Rohan Hasabe <rohanhasabe8@gmail.com>
2025-02-19 16:42:41 -05:00
go-jet
262d866a4a
Merge pull request #451 from sirmackan/master
...
DefaultColumns() helper on Table
2025-02-17 20:10:07 +01:00
charlie
0b664c6425
fixed default columns for mysql generator
2025-02-16 09:30:54 +01:00
go-jet
e5fcf35f73
Merge pull request #453 from go-jet/cdb-test-fix
...
CockroachDB test fix
2025-02-14 15:13:38 +01:00
go-jet
de3e912872
Fix cockroachdb test build.
2025-02-14 14:51:35 +01:00
charlie
38ea65434f
DefaultColumns() helper on Table
2025-02-06 09:34:22 +01:00
go-jet
00b8155f74
Merge pull request #443 from TotallyGamerJet/441_gen
...
generator/*: allow passing DB directly
2025-01-23 14:24:57 +01:00
TotallyGamerJet
8975f87830
Remove dbName as argument
2025-01-21 14:06:34 -05:00
TotallyGamerJet
e4ceb421de
generator/*: allow passing DB directly
...
Closes #441
2025-01-17 14:50:59 -05:00
go-jet
269bb4a3c9
Merge pull request #434 from formica2/master
...
Add additional postgres reserved keywords
2025-01-15 18:24:29 +01:00
formica2
8646646750
Merge branch 'master' of https://github.com/formica2/jet
2025-01-13 11:13:01 +03:00
formica2
906836f167
Add omitted reserved word on postgresql
2025-01-13 11:12:44 +03:00
formica2
4348c50d74
Merge branch 'go-jet:master' into master
2025-01-13 11:00:28 +03:00
formica2
15150dc886
Add omitted reserved word on postgresql
2025-01-13 10:58:48 +03:00
go-jet
4ab24b38ff
Merge pull request #436 from galexrt/skip_fields
...
feat: add generator skip option for table columns
2025-01-10 14:27:23 +01:00
Alexander Trost
60ba05b6fb
feat: add generator skip option for table columns
...
Signed-off-by: Alexander Trost <galexrt@googlemail.com>
2025-01-07 22:30:15 +01:00
formica2
855824a793
Add postgres keyword authorization
2024-12-23 13:22:29 +03:00
go-jet
f9ed359785
Merge pull request #431 from go-jet/dependabot/go_modules/golang.org/x/crypto-0.31.0
...
Bump golang.org/x/crypto from 0.20.0 to 0.31.0
2024-12-12 12:31:48 +01:00
dependabot[bot]
acfc3ecc37
Bump golang.org/x/crypto from 0.20.0 to 0.31.0
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.20.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.20.0...v0.31.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-12 11:25:38 +00:00
go-jet
8d3d048c20
Merge pull request #428 from go-jet/dependabot/go_modules/github.com/stretchr/testify-1.10.0
...
Bump github.com/stretchr/testify from 1.9.0 to 1.10.0
2024-11-27 13:22:36 +01:00
go-jet
072b58cd6d
Merge pull request #424 from jamius19/pkg-customization
...
Added CLI Flags for Package name customization for Model, Table, View and Enum
2024-11-26 11:46:52 +01:00
Jamius Siam
71ae4ed2e0
Fixed flag usage info
2024-11-26 16:37:42 +06:00
Jamius Siam
d22f3cff3d
Fixed flag names
2024-11-26 15:48:36 +06:00
Jamius Siam
cab3cc63bf
Replace path package with filepath
2024-11-26 15:40:34 +06:00
dependabot[bot]
6c6ba97f83
Bump github.com/stretchr/testify from 1.9.0 to 1.10.0
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.9.0...v1.10.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-11-25 21:37:04 +00:00
Jamius Siam
d6f1f28db8
Fixed cross-platform path compatibility
2024-11-24 21:41:52 +06:00
Jamius Siam
b08dd48c71
Updated tests for package customization CLI args
2024-11-23 00:32:44 +06:00
Jamius Siam
5add82eacb
Refactored CLI arguments
2024-11-23 00:32:44 +06:00
Jamius Siam
47fd02fb8d
Added test for the CLI flags for Model, Table, View and Enum
2024-11-22 21:15:09 +06:00
Jamius Siam
94412b797c
Added package name CLI flags for Model, Table, View and Enum
2024-11-22 21:15:09 +06:00
go-jet
3ca17766f7
Merge pull request #425 from jamius19/fix-local-tests
...
Fixed local test suite by syncing MySQL and MariaDB versions from CircleCI config
2024-11-22 14:38:03 +01:00
Jamius Siam
abb024a2ae
Synced MySQL and MariaDB version from CircleCI config
2024-11-21 18:54:00 +06:00
go-jet
5d2c232529
Add custom set returning function test.
2024-11-03 12:00:39 +01:00
go-jet
cf0923fdd3
Rollback some of the deleted postgres unsigned integer constructors.
2024-11-03 11:58:39 +01:00
go-jet
f8f2f75a0d
Merge pull request #419 from go-jet/str-constr
...
Add PostgreSQL-specific character type constructors: Text, Char, and VarChar
2024-11-02 11:31:54 +01:00
go-jet
2183af42f4
Add PostgreSQL-specific character type constructors: Text, Char, and VarChar.
2024-11-01 12:34:46 +01:00
go-jet
4f0832b0e7
Remove unused cast interface.
2024-11-01 12:30:37 +01:00
go-jet
aaf705d770
Add retry for cockroachdb init to avoid a concurrency issue in CockroachDB, specifically a TransactionRetryError.
2024-10-29 11:53:38 +01:00
go-jet
49104d1969
Merge pull request #416 from go-jet/stmt-cache2
...
Add support for prepared statement caching
2024-10-29 11:50:53 +01:00
go-jet
5f220569dd
Add support for prepared statements caching.
2024-10-29 11:44:38 +01:00
go-jet
bee431f870
Merge pull request #397 from BranislavLazic/add-pg-generate-series
...
Add Postgres GENERATE_SERIES function
2024-10-28 12:00:37 +01:00
go-jet
02f19ffca7
Merge pull request #418 from Neuman968/issue408Fix
...
Fix generating schema fails due to column name conflicts
2024-10-28 11:51:45 +01:00
johnflynn
9f8732cd95
Updated sql_builder_template to check if column is in a conflicted column name array and renames to {col}_ if it is a conflicting name. Added unit tests.
2024-10-26 22:43:41 -04:00
go-jet
4bb9775134
Merge remote-tracking branch 'upstream/master' into stmt-cache2
...
# Conflicts:
# tests/postgres/alltypes_test.go
# tests/postgres/northwind_test.go
# tests/postgres/sample_test.go
# tests/postgres/update_test.go
# tests/sqlite/insert_test.go
# tests/sqlite/main_test.go
# tests/sqlite/sample_test.go
# tests/sqlite/update_test.go
2024-10-19 14:01:55 +02:00