Commit graph

29 commits

Author SHA1 Message Date
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
d7a5adb239 Break utils package into subpackages. 2023-07-21 14:11:31 +02: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
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
Jay
9185bb8a76 added order by table_name clause to mysql and postgres query sets 2022-12-05 22:45:45 +05:30
Stephen Osunrinde
db6ad04024 Removed dsn from generator 2022-10-25 10:53:35 +01:00
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
vetcher
b31464e491 Review fixes 2021-09-02 11:29:55 +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
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
go-jet
91dc633b45 Generator clean up. 2019-08-14 12:50:31 +02:00
go-jet
13c671fa3f Execution additional tests. 2019-08-13 17:20:35 +02:00
go-jet
9a34dc9fd7 Handle todos. 2019-08-12 12:27:33 +02:00
go-jet
0ab25e4464 Update CircleCI to support MySQL 2019-08-08 17:13:20 +02:00
go-jet
23fd973699 Package structure refactor. 2019-08-03 14:10:47 +02:00
go-jet
bffa102849 MySQL execution and scan support. 2019-07-29 18:08:53 +02:00
go-jet
5dda5e1e11 Generic dialect support. (MySQL and Postgres) 2019-07-28 14:57:02 +02:00
go-jet
043a0dc4c0 MySQL generator support. 2019-07-27 10:40:30 +02:00