Commit Graph

799 Commits

Author SHA1 Message Date
John Guo
455830b842
test(database/gdb): add more unit testing cases for Raw feature (#3962)
Some checks failed
GoFrame Main CI / code-test (1.20, 386) (push) Has been cancelled
GoFrame Main CI / code-test (1.20, amd64) (push) Has been cancelled
GoFrame Main CI / code-test (1.21, 386) (push) Has been cancelled
GoFrame Main CI / code-test (1.21, amd64) (push) Has been cancelled
GoFrame Main CI / code-test (1.22, 386) (push) Has been cancelled
GoFrame Main CI / code-test (1.22, amd64) (push) Has been cancelled
GoFrame Main CI / code-test (1.23, 386) (push) Has been cancelled
GoFrame Main CI / code-test (1.23, amd64) (push) Has been cancelled
GoFrame Sub CI / code-test (1.20, 386) (push) Has been cancelled
GoFrame Sub CI / code-test (1.20, amd64) (push) Has been cancelled
GoFrame Sub CI / code-test (1.21, 386) (push) Has been cancelled
GoFrame Sub CI / code-test (1.21, amd64) (push) Has been cancelled
GoFrame Sub CI / code-test (1.22, 386) (push) Has been cancelled
GoFrame Sub CI / code-test (1.22, amd64) (push) Has been cancelled
GoFrame Sub CI / code-test (1.23, 386) (push) Has been cancelled
GoFrame Sub CI / code-test (1.23, amd64) (push) Has been cancelled
Sync to Gitee / Run (push) Has been cancelled
GolangCI-Lint / golangci-lint (1.20) (push) Has been cancelled
GolangCI-Lint / golangci-lint (1.21.4) (push) Has been cancelled
GolangCI-Lint / golangci-lint (1.22) (push) Has been cancelled
GolangCI-Lint / golangci-lint (1.23) (push) Has been cancelled
Sonarcloud Scan / Scorecards analysis (push) Has been cancelled
Deploy to GitHub Pages / Deploy to GitHub Pages (push) Has been cancelled
2024-11-23 18:35:02 +08:00
John Guo
e9ce1bde87
fix(database/gdb): incompatitable statement like Order("id", "dasc") (#3949) 2024-11-21 15:08:29 +08:00
John Guo
3090fe7f4e
fix(database/gdb): recognize tinyint(1)/int(1) as bool (#3943) 2024-11-20 20:21:33 +08:00
wingfeng
910703ec3a
chore(database/gdb): comment update for function Model.Order (#3933)
Some checks failed
GoFrame Main CI / code-test (1.20, 386) (push) Has been cancelled
GoFrame Main CI / code-test (1.20, amd64) (push) Has been cancelled
GoFrame Main CI / code-test (1.21, 386) (push) Has been cancelled
GoFrame Main CI / code-test (1.21, amd64) (push) Has been cancelled
GoFrame Main CI / code-test (1.22, 386) (push) Has been cancelled
GoFrame Main CI / code-test (1.22, amd64) (push) Has been cancelled
GoFrame Main CI / code-test (1.23, 386) (push) Has been cancelled
GoFrame Main CI / code-test (1.23, amd64) (push) Has been cancelled
GoFrame Sub CI / code-test (1.20, 386) (push) Has been cancelled
GoFrame Sub CI / code-test (1.20, amd64) (push) Has been cancelled
GoFrame Sub CI / code-test (1.21, 386) (push) Has been cancelled
GoFrame Sub CI / code-test (1.21, amd64) (push) Has been cancelled
GoFrame Sub CI / code-test (1.22, 386) (push) Has been cancelled
GoFrame Sub CI / code-test (1.22, amd64) (push) Has been cancelled
GoFrame Sub CI / code-test (1.23, 386) (push) Has been cancelled
GoFrame Sub CI / code-test (1.23, amd64) (push) Has been cancelled
Sync to Gitee / Run (push) Has been cancelled
GolangCI-Lint / golangci-lint (1.20) (push) Has been cancelled
GolangCI-Lint / golangci-lint (1.21.4) (push) Has been cancelled
GolangCI-Lint / golangci-lint (1.22) (push) Has been cancelled
GolangCI-Lint / golangci-lint (1.23) (push) Has been cancelled
Sonarcloud Scan / Scorecards analysis (push) Has been cancelled
2024-11-18 18:33:59 +08:00
John Guo
6baf4338b0
fix(database/gdb): recognize field type tinyint(1) to golang type bool (#3921) 2024-11-13 23:09:01 +08:00
John Guo
6c6fd7902a
feat(database/gdb): remove unnecessary blank character requirement in tag for With feature of gdb.Model (#3875) 2024-11-11 21:59:26 +08:00
CyJaySong
e4c4fb591e
feat(database/gdb): add Exist support for checking records existance for certain condition (#3854) 2024-10-24 15:29:03 +08:00
John Guo
e179e1d4fe
fix(database/gdb): unix socket connection support for mysql (#3872) 2024-10-21 09:22:53 +08:00
John Guo
7dd38a1700
feat(database/gdb): add Raw support for Fields function of gdb.Model (#3873) 2024-10-21 09:22:31 +08:00
John Guo
91884e7c93
fix(database/gdb): remove support of Array/Value/Count operations for result that has multiple record fields (#3839) 2024-10-08 20:42:06 +08:00
John Guo
7cbc9e8533
test(os/gcache): fix unit testing occasionally failed due to too short expration duration set (#3842) 2024-10-08 13:06:11 +08:00
Lance Add
66ee52c96a
fix(database/gdb): invalid order by statement generated when multiple order inputs (#3803) 2024-09-28 12:06:22 +08:00
John Guo
3f2b1cb329
feat(database/gdb): add year field type support for ORM operations (#3805) 2024-09-25 16:33:52 +08:00
oldme
c13004e230
fix(database/gdb): support OrderRandom feature in different databases (#3794) 2024-09-24 11:58:34 +08:00
houseme
fd33dcb97b
ci: add go version 1.23 support (#3733) 2024-09-19 10:38:20 +08:00
John Guo
6a99931798
fix(database/gdb): #3755 error parsing database link without port number (#3772) 2024-09-13 16:50:59 +08:00
John Guo
4ee5bf5c45
fix(database/gdb): #3754 FieldsEx feature conflicts with soft time feature in soft time fields updating (#3773) 2024-09-13 16:50:38 +08:00
wln32
9b318bb57f
perf(database/gdb): performance improvement for struct scanning when with feature disabled (#3677) 2024-09-12 15:38:18 +08:00
CyJaySong
bb9a3b83eb
feat(database/gdb): add time field type for value converting for/from field (#3712) 2024-09-10 17:51:22 +08:00
CyJaySong
6e5ce98d23
fix(database/gdb): fix #3649 when constructing query param, gdb.Row value not directly write to Buffer (#3718) 2024-08-14 21:16:17 +08:00
houseme
f8272bc5f4
database/gdb: remove duplicated SQL records in tracing events (#3659) 2024-06-25 21:11:36 +08:00
jswxstw
2ccbb02c71
fix: #3613 ignore automatic handling for creating/updating time if it has been specified (#3615) 2024-06-12 21:41:44 +08:00
海亮
753965b9a9
example: password encrypt-decrypt for database using custom implement driver (#3610) 2024-06-04 22:04:36 +08:00
PickMeUp
b675d01418
database/gdb: add unscoped tag support for orm struct (#3464) 2024-05-22 21:52:21 +08:00
wln32
17385eeaef
database/gdb: fix confusing error message in Insert/Update operations when table not exist or the table contains no fields (#3553) 2024-05-22 21:26:53 +08:00
John Guo
23df83cb0b
database/gdb: fix deadlock when orm operations perform in cache function from gcache (#3585) 2024-05-22 21:14:43 +08:00
Muddy
9aa426a105
database/gdb/gdb_model_soft_time: fix soft-time support fieldType:LocalTypeUint64 in Insert/Update perations (#3551) 2024-04-29 19:00:51 +08:00
John Guo
bbcf49db98
fix: #3238 first column might be overwritten in interal context data in multiple goroutines querying (#3476) 2024-04-16 19:31:06 +08:00
Anh Phuong Do
4c6b146627
feat: add Scan method for incremental key retrieval in gredis (#3451) 2024-04-11 15:37:22 +08:00
x
db5eed17b1
fix: invalid cache key using pointer address of variable for soft time fields (#3448) 2024-04-02 20:10:16 +08:00
Yuyang Zhang(helloqiu)
00ba053ce6
enhance: use in-memory cache for soft field name and type (#3420) 2024-04-01 19:22:23 +08:00
John Guo
8669512f42
feat: add metric feature support in goframe (#3138) 2024-03-24 21:18:30 +08:00
oldme
409041b965
enhance: support save for Oracle (#3364) 2024-03-13 20:11:45 +08:00
oldme
4feda4c395
enhance: do not ignore error from gdb.FormatMultiLineSqlToSingle func (#3368) 2024-03-13 19:22:17 +08:00
oldme
199737cd0f
fix: for typo in comments for package contrib/drivers and gdb (#3366) 2024-03-12 20:40:20 +08:00
John Guo
607f079b23
fix: cache value assertion panic if the cache adapter is not in-memory for soft time feature of package gdb; improve converting performance for gconv.Scan (#3351) 2024-03-07 11:36:42 +08:00
laushunyu
9b48da459e
enhance: add sentinel auth config for redis (#3348) 2024-03-06 19:27:52 +08:00
oldme
290f4a3e65
fix: recognize json_valid constraint as json field type for database mariadb #2746 (#3309) 2024-03-06 19:07:31 +08:00
oldme
509cc47d3f
enhance: add Save operation support for pgsql #3053 (#3324) 2024-03-04 20:17:43 +08:00
oldme
51326f3d02
fix #3245 (#3298) 2024-02-06 11:47:25 +08:00
oldme
e1fa99013a
use iota to unify the enums definition (#3305) 2024-02-06 11:44:29 +08:00
John Guo
72014689e4
fix issue #2643 (#3304) 2024-02-06 10:21:44 +08:00
John Guo
2acdf4bb47
add field type detection for soft time field like created_at/updated_at/deleted_at to support unix timestamp or bool deleting table field (#3293) 2024-02-06 10:21:23 +08:00
John Guo
85c5b7f19e
fix issue #2594 (#3303) 2024-02-05 20:40:03 +08:00
John Guo
14568562e3
fix issue #2552 (#3300) 2024-02-05 10:29:43 +08:00
John Guo
8266a16b4e
fix issue #3286 (#3289) 2024-01-30 20:03:58 +08:00
海亮
63bdf41d40
fix #3191 (#3194) 2023-12-28 20:18:29 +08:00
John Guo
645c5ff5b5
fix issue #3218 #3204 (#3220) 2023-12-19 21:58:12 +08:00
John Guo
44819b135e
fix issue #3204 (#3212) 2023-12-18 20:19:18 +08:00
John Guo
9aa872e705
improve map converting feature using MapOption for package gconv (#3170) 2023-11-23 18:59:04 +08:00