Commit graph

725 commits

Author SHA1 Message Date
go-jet
a9cbf94d68
Merge pull request #325 from realbucksavage/master
mysql: added a helper to compare UUID strings with uuid_to_bin
2024-02-23 17:27:00 +01:00
Jay
33ec120437 replaced the UUIDToBin functions with a singular UUID_TO_BIN 2024-02-22 17:23:14 +05:30
Jay
09fe45b09c mysql: added a helper to compare UUID strings with uuid_to_bin 2024-02-20 23:56:11 +05:30
go-jet
493d3a4a25
Merge pull request #309 from jupp0r/feature/optimize-mysql-generator-performance
Improve performance of mysql generator
2024-02-19 11:33:57 +01: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
go-jet
61841dcfbe
Merge pull request #316 from go-jet/dependabot/go_modules/github.com/google/uuid-1.6.0
Bump github.com/google/uuid from 1.3.0 to 1.6.0
2024-02-17 13:06:10 +01:00
go-jet
6b098b8e41 Replace invalid character from the go identifiers with description string. 2024-02-17 12:46:00 +01:00
go-jet
255f4a8eaf Add support for expression in OFFSET clause. 2024-02-13 14:01:13 +01:00
go-jet
dab153a739 Add support for NULLS_FIRST and NULLS_LAST sorting order. 2024-02-10 14:03:31 +01:00
dependabot[bot]
12faa55c52
Bump github.com/google/uuid from 1.3.0 to 1.6.0
Bumps [github.com/google/uuid](https://github.com/google/uuid) from 1.3.0 to 1.6.0.
- [Release notes](https://github.com/google/uuid/releases)
- [Changelog](https://github.com/google/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/google/uuid/compare/v1.3.0...v1.6.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>
2024-02-07 21:22:43 +00:00
go-jet
0fc51cf402
Merge pull request #230 from go-jet/dependabot/go_modules/github.com/go-sql-driver/mysql-1.7.1
Bump github.com/go-sql-driver/mysql from 1.7.0 to 1.7.1
2024-02-07 11:28:19 +01:00
go-jet
f5f744a884
Merge pull request #253 from go-jet/dependabot/go_modules/github.com/jackc/pgconn-1.14.1
Bump github.com/jackc/pgconn from 1.14.0 to 1.14.1
2024-02-07 11:27:49 +01:00
go-jet
a46f5c1bd6 Update circle.ci postgres image. 2024-02-07 11:18:29 +01:00
go-jet
c19b3e7ae1 Update circle.ci postgres image. 2024-02-07 11:15:36 +01:00
go-jet
e51ddd5506 Add support for FETCH FIRST clause. 2024-02-07 11:07:50 +01:00
go-jet
e03773a79e Update README.md 2024-02-05 11:33:26 +01:00
go-jet
44e1b7f4d9 Fix circle.ci 2024-02-04 18:59:43 +01:00
go-jet
64ad9de99e Fix circle.ci 2024-02-04 18:56:37 +01:00
go-jet
2eaa75345c [sqlite] Generated columns additional tests. 2024-02-04 18:45:48 +01:00
go-jet
71fb1c7cd1 Add support for sqlite generated columns. 2024-02-04 18:35:26 +01:00
go-jet
23cb5dcfbc Set status code if tests init command fails. 2024-02-01 17:46:11 +01:00
go-jet
1cbbf495db Update circle.ci config. 2024-02-01 17:36:12 +01:00
go-jet
7f48e9fb67 Add support for materialized views. 2024-02-01 15:20:49 +01:00
go-jet
b6d57075e8 Additional tests for row lock UPDATE OF use case. 2024-02-01 14:43:12 +01:00
go-jet
5cbaa90992
Merge pull request #288 from mattdowdell/rowlock-of
Add support for OF in row lock clauses
2023-12-01 12:37:40 +01:00
Matthew Dowdell
f16f0b5e5d Add support for OF in row lock clauses
This adds support for statements such as `SELECT ... FOR UPDATE OF table NOWAIT` where `OF table`
could not be specified previously. Fixes #285.
2023-11-30 07:52:54 +00:00
go-jet
6a13530ec1
Merge pull request #274 from josephbuchma/faster-mysql-db-info-querying
10x mysql db info querying speedup
2023-09-20 19:16:47 +02: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
e2fe799f8e
Merge pull request #267 from ryym/fix-readme-typo
Fix typo in README
2023-08-21 10:25:27 +02:00
ryym
a3267eb6c1
Fix typo in README
gen/ -> .gen/
2023-08-20 10:22:18 +09:00
go-jet
33333585e9
Merge pull request #259 from quirell/add-default-alias
Add DefaultAlias option to TableSQLBuilder
2023-08-03 13:08:58 +02:00
quirell
39f9996b34 Add DefaultAlias option to TableSQLBuilder 2023-08-02 10:03:59 +09:00
go-jet
a2eb15e566 Update jet version. 2023-07-24 10:46:57 +02:00
go-jet
d62f416836
Merge pull request #254 from kvii/patch-1
Fix typo.
2023-07-24 10:44:12 +02:00
kvii
5f8af89721
Update main.go
Do you want say "dsn"? I don't know if "dns" is right.
2023-07-24 11:52:43 +08:00
go-jet
c7d972106a Update CircleCI badge. 2023-07-23 18:24:17 +02:00
go-jet
bea828d64d Add additional generator template tests:
- TestRenameEnumValueName
 - TestGeneratorTemplate_Model_SqlBuilder_RenameStructFieldNames test.
2023-07-23 17:58:33 +02: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
dbcf614140 Additional generator tests. 2023-07-21 17:22:20 +02:00
go-jet
6e597a3179 Additional generator tests. 2023-07-21 17:18:02 +02:00
go-jet
12509eaf44 Additional generator tests. 2023-07-21 17:10:39 +02: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
dependabot[bot]
8bbfa2c290
Bump github.com/jackc/pgconn from 1.14.0 to 1.14.1
Bumps [github.com/jackc/pgconn](https://github.com/jackc/pgconn) from 1.14.0 to 1.14.1.
- [Changelog](https://github.com/jackc/pgconn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jackc/pgconn/compare/v1.14.0...v1.14.1)

---
updated-dependencies:
- dependency-name: github.com/jackc/pgconn
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 21:10:23 +00:00
go-jet
b38b63d804 Add support for automatic jet version update. 2023-07-20 13:18:35 +02:00