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
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
go-jet
dc557390b0
Test fix.
2022-02-09 13:49:37 +01:00
go-jet
c86903fd1d
Additional scan performance improvements
...
Move typeStack to ScanContext, so it is shared between rows.Scan calls.
Use string.Builder for string concatenations.
Simplify value assign logic.
Move convert value to the last assign step (needs for type conversions are rare).
2022-02-09 12:34:10 +01:00
go-jet
c10244aeab
Improve Rows scan performance
...
ScanContext reused between rows.Scan calls.
Simplified assign value logic.
Use complex destination for Rows test.
2022-02-04 13:03:31 +01:00
go-jet
4f29960378
Add custom function call test.
2022-01-20 17:23:40 +01:00
go-jet
911cab333b
Fix TestDeleteWithUsing test.
2022-01-20 17:06:03 +01:00
go-jet
8eed0e209a
Fix ident
2022-01-20 16:54:18 +01:00
go-jet
34f84c7170
Rename SetQueryLoggerFunc to SetQueryLogger
2022-01-20 16:51:32 +01:00
go-jet
04c14f29bf
Add option for generator to ignore tables, views or enums.
2022-01-15 17:43:25 +01:00
go-jet
4955bfc4b5
Add automatic query logger function with additional execution details.
2022-01-12 19:03:50 +01:00
go-jet
7377e078cd
Skip complex expression parenthesis wrap for function parameters.
2022-01-10 16:57:57 +01:00
go-jet
a506a96d6a
Add DISTINCT operator support
2022-01-10 16:43:17 +01:00
go-jet
038a32b032
Add WITH RECURSIVE statement support
2022-01-04 18:08:06 +01:00
go-jet
001d64f1dc
Add BETWEEN operator support.
2022-01-04 17:58:10 +01:00
go-jet
972fc1d9bf
Add support for running integration tests with dockerized test databases.
2021-12-17 16:59:43 +01:00
go-jet
60ffd004c5
Add USING clause support for DELETE statements
2021-12-08 18:14:57 +01:00
go-jet
72e8d7d584
Add FROM clause support for UPDATE statements
2021-12-08 18:13:58 +01:00
go-jet
d197956271
Avoid unnecessary double wrapping of SELECT statement when used as single function parameter.
2021-10-21 13:40:26 +02:00
go-jet
3f7efb33eb
Build fix.
2021-10-16 10:46:28 +02:00
vetcher
5b7c34e333
Connection via DSN
2021-09-02 11:29:55 +02:00
go-jet
8864667f47
Add the ability to fully customize jet generated files.
2021-07-27 17:39:21 +02:00
go-jet
17e5e34111
Allow NUMERIC value scan into any number type
2021-05-21 16:09:29 +02:00
go-jet
cecdab1c67
Test fix.
2021-05-17 15:13:54 +02:00