SanjaiyKumar
a56447d1fc
Excluded GENERATED ALWAYS VIRTUAL columns from mutable columns
2025-06-12 04:22:37 +05:30
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
85ea908285
Add support for exporting a ColumnList from a subquery.
2025-03-13 12:45:01 +01:00
go-jet
950b33191e
Remove QueryJson statements method to avoid potential misuse.
2025-03-09 17:46:34 +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
dea09d49e8
Test fix.
2025-03-01 19:40:23 +01:00
go-jet
c94216ab0e
Add support for blob expressions.
2025-02-28 18:23:15 +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
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
charlie
0b664c6425
fixed default columns for mysql generator
2025-02-16 09:30:54 +01:00
charlie
38ea65434f
DefaultColumns() helper on Table
2025-02-06 09:34:22 +01:00
Jamius Siam
cab3cc63bf
Replace path package with filepath
2024-11-26 15:40:34 +06:00
go-jet
5d2c232529
Add custom set returning function test.
2024-11-03 12:00:39 +01:00
go-jet
5f220569dd
Add support for prepared statements caching.
2024-10-29 11:44:38 +01: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
go-jet
8d112f7db8
Add support for VALUES statement.
2024-10-17 14:17:22 +02:00
go-jet
3fcbbec427
Add support for Row expression.
2024-10-17 14:17:22 +02:00
Samir Faci
f7082eda68
Adding gosec and lint, fixing null_type overflow
...
ChangeLog:
- Adding gosec linting
- Adding static type to enum
- fixing nulltype overflow
- Trying out gotestsum as an alternative to go-junit-report.xml
2024-10-14 11:06:59 -04:00
Samir Faci
c2703558d7
Moving PtrOf to package internal/ptr
2024-10-06 09:04:10 -04:00
Samir Faci
99be328e9d
Replacing several test util function with a generic version
...
ChangeLog:
- updated several test utils with a generic PtrOf
- updated references using iotils (Deprecated) with os equivalent import.
2024-10-05 13:13:55 -04:00
Andrew Harding
b7904cde4e
Add HasDefault column metadata
2024-08-13 14:52:54 -06:00
go-jet
0918e5503e
Add support for prepared statement caching.
2024-03-07 18:01:31 +01:00
go-jet
1b63280b74
Skip UUID_TO_BIN test for MariaDB.
2024-02-27 11:23:34 +01:00
go-jet
16d0e57441
Add UUID_TO_BIN integration test.
2024-02-27 11:11:37 +01:00
go-jet
dab153a739
Add support for NULLS_FIRST and NULLS_LAST sorting order.
2024-02-10 14:03:31 +01:00
go-jet
b6d57075e8
Additional tests for row lock UPDATE OF use case.
2024-02-01 14:43:12 +01:00
quirell
39f9996b34
Add DefaultAlias option to TableSQLBuilder
2023-08-02 10:03:59 +09:00
go-jet
aace1156ba
[Bug241] Add mysql unicode character comment.
2023-07-23 17:56:07 +02:00
go-jet
bb22b80984
[Bug241] Remove control characters from mysql column comment
2023-07-22 12:01:49 +02:00
go-jet
d7a5adb239
Break utils package into subpackages.
2023-07-21 14:11:31 +02:00
go-jet
a428981a2d
Expose internal jet.Rows type
2023-04-17 12:01:01 +02:00
go-jet
5e34bef288
Add more UseSchema tests.
...
Rename newly generated file to avoid potentional conflict with tables named table or views named view.
2023-04-02 13:58:44 +02:00
go-jet
7b36f31cad
Include mysql column comments into generated types
2023-03-31 14:43:47 +02:00
go-jet
fa69565dbf
Add support for postgres GROUPING SET, ROLLUP and CUBE grouping operators
...
Add support for mysql WITH ROLLUP grouping operator
Add support for GROUPING operator
2023-03-28 13:16:57 +02:00
go-jet
8be2f8b9c3
Update mysql driver to v1.7.0
2023-01-17 18:50:09 +01:00
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
7db99b10bc
Made 'SetSchema' to be generated in a dedicated file for views and tables.
2022-12-02 23:02:44 +05:30
Jay
a792fe6e0a
Renamed generated SetSchema to Set<SchemaName>Schema
2022-12-01 12:48:28 +05:30
go-jet
f772f90336
[MySQL] Optimizer hints
2022-09-29 13:33:00 +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
f93636eab0
Add missing sqlite conditional functions.
2022-08-17 13:03:03 +02:00
go-jet
2101088d0e
Add support for EXTRACT time/date function.
2022-05-06 11:54:44 +02:00
go-jet
bc776f947b
Add support for CockorachDB.
2022-05-05 13:01:42 +02:00
go-jet
3ff9241eea
Merge pull request #138 from nkonin/fix/dsn-ignore-tables
...
fix -ignore-tables, -ignore-enums and -ignore-views when -dsn is present
2022-04-14 10:52:30 +02:00
Nikita Konin
971e2df442
fix -ignore-tables, -ignore-enums and -ignore-views when -dsn is present
2022-04-13 20:47:56 +03:00
fourdim
3aca063d57
Update generator tests
2022-03-18 11:18:22 +08:00
go-jet
9f91fd705a
Global AND and OR functions for better indentation of a complex condition in the Go code and in the generated SQL.
2022-02-11 13:09:49 +01:00