go-jet
88f4935681
Merge pull request #156 from go-jet/dependabot/go_modules/github.com/google/uuid-1.3.0
...
Bump github.com/google/uuid from 1.1.1 to 1.3.0
2022-12-17 19:55:59 +01:00
go-jet
b80fb5df94
Merge pull request #197 from emarj/custom-types-indexes-pk
...
Allow custom types as indexes when joining tables
2022-12-17 19:49:52 +01:00
Marco Ronchese
31cddca786
add additional test
2022-12-17 17:21:46 +01:00
Marco Ronchese
68dbbabb99
fixing test
2022-12-17 17:19:34 +01:00
Marco Ronchese
78ed3fdb13
adding test and cleaning up
2022-12-16 23:17:26 +01:00
Marco Ronchese
192826c456
allow custom types as indexes when joining tables
2022-12-16 13:09:46 +01:00
go-jet
4873e43cc5
Merge pull request #194 from realbucksavage/master
...
Added a global `UseSchema` method to table generation
2022-12-06 11:37:18 +01:00
Jay
9185bb8a76
added order by table_name clause to mysql and postgres query sets
2022-12-05 22:45:45 +05:30
Jay
1bf48d640a
Renamed generated schema func to UseSchema.
2022-12-05 17:26:52 +05:30
Jay
04c1a51ba7
Changed SetSchema to UseSchema
2022-12-04 20:33:55 +05:30
Jay
3f9ae1cabb
Removed unnecessary EnsureDirPath call
2022-12-04 20:22:07 +05:30
Jay
7db99b10bc
Made 'SetSchema' to be generated in a dedicated file for views and tables.
2022-12-02 23:02:44 +05:30
go-jet
c5e3d1ee75
Merge pull request #195 from masterkidan/master
...
fix: Updating query for types to the target namespace
2022-12-02 16:38:11 +01:00
Mukundan Kidambi
b22ab17b38
fix: Updating query for types to the target namespace
2022-12-02 01:32:14 -08:00
Jay
199bb2a20a
corrected 'skip table generation' check
2022-12-01 22:28:28 +05:30
Jay
bda94469ea
Corrected an issue where skipping any table skips SetSchema
2022-12-01 17:46:14 +05:30
Jay
882d5562f3
added a check for skipping generation of table SQL builder code
2022-12-01 15:15:35 +05:30
Jay
a792fe6e0a
Renamed generated SetSchema to Set<SchemaName>Schema
2022-12-01 12:48:28 +05:30
Jay
471499ea00
Added a global method to table generation ( #79 )
2022-12-01 11:54:14 +05:30
go-jet
c9e627d333
Merge pull request #184 from yngfoxx/patch-1
...
Potential security flaw
2022-10-25 12:03:09 +02:00
Stephen Osunrinde
db6ad04024
Removed dsn from generator
2022-10-25 10:53:35 +01:00
S T E P H E N
9bc090b7a3
Potential security flaw
...
I am using go-jet as a go library for an application that uses dynamic database credentials and noticed this potential security risk that exposes the whole database credentials (though it is timed, it is still a risk)
2022-10-24 22:43:10 +01:00
go-jet
24857bc067
Merge pull request #180 from go-jet/develop
...
Release v.2.9.0
2022-09-30 13:53:33 +02:00
go-jet
59f9df9b7e
[postgres] Add Json literal test.
2022-09-29 14:31:08 +02:00
go-jet
f772f90336
[MySQL] Optimizer hints
2022-09-29 13:33:00 +02:00
go-jet
c9967d151e
Merge pull request #175 from Hoonyyhoon/fix/add_omitted
...
fix: Add omitted reserved word 'RIGHT' on postgresql
2022-09-07 10:43:41 +02:00
Stefan
16c9ee428e
Add omitted reserved word 'right' on postgresql
2022-09-07 00:54:40 +09:00
go-jet
a2ea1892e5
Go fmt.
2022-08-23 12:38:16 +02:00
go-jet
4e1ff65023
[MySQL] Add NEW alias for the rows to be inserted.
2022-08-23 12:23:46 +02:00
go-jet
c264529e95
Merge pull request #171 from nkonin/fix/ColumnTimez-missing-SET-method
...
add missing SET method to ColumnTimez interface
2022-08-19 14:51:17 +02:00
Nikita Konin
92254c35df
add missing SET method to ColumnTimez interface
...
it has been already implemented, just missing from interface
2022-08-18 13:23:51 +03:00
go-jet
f93636eab0
Add missing sqlite conditional functions.
2022-08-17 13:03:03 +02:00
go-jet
bdbbc4d58d
Merge branch 'develop' of https://github.com/go-jet/jet into develop
2022-08-16 12:49:58 +02:00
go-jet
b4a0964fce
Update badge links.
2022-08-16 12:47:52 +02:00
go-jet
879c2eb7e7
Merge pull request #161 from wexder/master
...
Add postgres json literal
2022-06-06 11:04:40 +02:00
Vladimír Zahradník
11b0a6858a
Better json func, and tests
2022-06-04 14:22:33 +02:00
Vladimír Zahradník
0425e8895c
add postgres json literal
2022-06-04 14:12:08 +02:00
go-jet
5a0d05273a
Merge pull request #159 from kblomster/mysql-comparison-functions
...
mysql: export some conditional functions
2022-06-04 12:10:13 +02:00
Karl Blomster
792f89a857
mysql: export some conditional functions
...
COALESCE, NULLIF, GREATEST and LEAST already existed
and were available in the postgres dialect, but not in MySQL.
2022-06-03 16:11:24 +02:00
dependabot[bot]
e7257ff5fa
Bump github.com/google/uuid from 1.1.1 to 1.3.0
...
Bumps [github.com/google/uuid](https://github.com/google/uuid ) from 1.1.1 to 1.3.0.
- [Release notes](https://github.com/google/uuid/releases )
- [Commits](https://github.com/google/uuid/compare/v1.1.1...v1.3.0 )
---
updated-dependencies:
- dependency-name: github.com/google/uuid
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-05-17 21:40:52 +00:00
go-jet
38b6caf41e
Merge pull request #153 from go-jet/develop
...
Release 2.8.0
2022-05-17 11:45:06 +02:00
go-jet
4b720d6a73
Add multi-tenant table WithPrefix, WithSuffix tests.
2022-05-17 11:10:20 +02:00
go-jet
01f409bab1
Add multi-tenant table WithPrefix, WithSuffix tests.
2022-05-17 11:09:29 +02:00
go-jet
c38d2fd2c3
Update README.md
2022-05-16 11:51:47 +02:00
go-jet
6706f4b228
[Bug] DebugSQL panics with libraries that do not implemente Stringer interface.
2022-05-14 11:17:39 +02:00
go-jet
7567206ac0
Update dependencies.
2022-05-13 14:49:11 +02:00
go-jet
5561de10dd
Merge remote-tracking branch 'upstream/master' into develop
2022-05-13 14:20:56 +02:00
go-jet
3b0285cc4b
[Bug] Statement Query and Exec methods can not be used with sql.Conn
2022-05-13 14:04:11 +02:00
go-jet
84dbda5948
Improve doc.
2022-05-13 13:46:41 +02:00
go-jet
29c523f381
Generator code cleanup.
2022-05-13 13:45:41 +02:00