Commit graph

20 commits

Author SHA1 Message Date
SanjaiyKumar
a56447d1fc Excluded GENERATED ALWAYS VIRTUAL columns from mutable columns 2025-06-12 04:22:37 +05:30
go-jet
74f48fc567 Fix mariadb HasDefault column. 2025-03-02 14:45:41 +01:00
charlie
0b664c6425 fixed default columns for mysql generator 2025-02-16 09:30:54 +01:00
Andrew Harding
b7904cde4e Add HasDefault column metadata 2024-08-13 14:52:54 -06:00
Jupp Mueller
bffec36917
Improve performance of mysql generator
This change improves performance for generating mysql models
for databases with large number of tables. In my local testing
for a database with about 1000 tables and 140k columns, generation
time was reduced from about 1h to less than one second.
2024-02-17 05:35:56 -08:00
Yosyp Buchma
dd8d043cb8 moved mysql connection pool config to openConection func 2023-09-20 13:13:50 +03:00
Yosyp Buchma
f472becd89 simplified concurrent querying 2023-09-19 20:56:54 +03:00
Yosyp Buchma
ffabf8b26e coalesce pk.IsPrimaryKey 2023-09-19 20:56:21 +03:00
Yosyp Buchma
98dfce2ae5 Concurrent GetTableColumnsMetaData for MySQL 2023-09-18 17:48:35 +03:00
Yosyp Buchma
db808f136b Faster MySQL GetTableColumnsMetaData query 2023-09-18 17:35:11 +03:00
go-jet
06ecd73f67 Improve generator error handling 2023-07-21 13:20:44 +02:00
go-jet
7b36f31cad Include mysql column comments into generated types 2023-03-31 14:43:47 +02:00
Jay
9185bb8a76 added order by table_name clause to mysql and postgres query sets 2022-12-05 22:45:45 +05:30
go-jet
4955bfc4b5 Add automatic query logger function with additional execution details. 2022-01-12 19:03:50 +01:00
Karl Blomster
4d404d8853
generator: support MySQL 5.7
MySQL 5.7 does not support CTE's. Refactor the table column metadata
query to avoid the CTE.
2021-12-14 18:22:58 +01:00
go-jet
8864667f47 Add the ability to fully customize jet generated files. 2021-07-27 17:39:21 +02:00
go-jet
2ada2ff69b Add go mod support. 2020-06-27 18:48:19 +02:00
go-jet
50bda95da2 Simplify error handling in generator. 2019-09-20 18:20:26 +02:00
go-jet
b88519bfd4 [Feature] Add support for database views.
[Feature] Add support to manually set primary keys for destination structure fields.
2019-09-20 12:53:52 +02:00
go-jet
a657b76bef The rest of linter errors. 2019-08-17 18:32:01 +02:00