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
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
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