Commit Graph

240 Commits

Author SHA1 Message Date
MarkJoyMa
dace520654
fix: revert sqlx metric namespace (#3847) 2024-01-14 02:38:10 +00:00
Kevin Wan
9e33b557b1
chore: refactor redis (#3844) 2024-01-13 23:02:19 +08:00
Kevin Wan
368caa7608
feat: upgrade go-redis to v9 (#3088)
Co-authored-by: cong <zhangcong1992@gmail.com>
2024-01-13 22:40:58 +08:00
Qiu shao
431f9af43e
feat:add redis ExistsMany method (#3769) 2023-12-16 14:49:16 +08:00
Summer-lights
400386459c
fix(redis): redis ttl -1 and -2 (#3783) 2023-12-16 05:46:53 +00:00
Kevin Wan
22c98beb24
feat: add dbtest to facility db test (#3768) 2023-12-09 22:52:06 +08:00
Kevin Wan
2f8cffc699
chore: update mongo driver (#3727) 2023-11-19 16:35:25 +08:00
Kevin Wan
a1fca3a1da
chore: upgrade go dependencies (#3657) 2023-10-28 00:19:22 +08:00
Kevin Wan
9394e59597
chore: update goctl version to 1.6.0 (#3674) 2023-10-27 21:59:35 +08:00
MarkJoyMa
c05e03bb5a
feat: add metrics (#3624) 2023-10-26 15:51:28 +00:00
Kevin Wan
172ff407f3
chore: refactor mongo logs (#3660) 2023-10-23 11:03:55 +08:00
shenbaise9527
a242fec5e1
feat: support for disable mon logs like sqlx (#3606)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2023-10-22 15:00:02 +00:00
Kevin Wan
42e0a6f90c
chore: refactor errors to use errors.Is (#3654) 2023-10-21 00:00:57 +08:00
Kevin Wan
d71c0da7b7
chore: refactor error comparison (#3629) 2023-10-15 13:41:06 +00:00
Ikko Eltociear Ashimine
b731aa38af
refactor: update builder.go (#3620) 2023-10-13 07:03:15 +00:00
Kevin Wan
abd1fa96a9
fix: UpdateStmt doesn't update the statement correctly in sqlx/bulkinserter.go (#3607) 2023-10-09 21:57:26 +08:00
Kevin Wan
421e6617b1
chore: add more tests (#3592) 2023-09-27 22:33:27 +08:00
Kevin Wan
d3cd7b17c0
Revert "add:func() QueryRowsPartial,QueryRowPartial into cachedsql.go" (#3523) 2023-08-27 21:36:14 +08:00
liumin-go
a50515496c
add:func() QueryRowsPartial,QueryRowPartial into cachedsql.go (#3512)
Co-authored-by: 刘敏 <liumin@liumindeMac-mini.local>
2023-08-27 08:05:02 +00:00
Kevin Wan
c3f57e9b0a
chore: fix potential nil pointer errors (#3454) 2023-07-30 21:37:41 +08:00
Kevin Wan
ff04356704
fix: format error should not trigger circuit breaker in sqlx (#3437) 2023-07-23 20:40:03 +08:00
chen quan
b71453985c
feat(sqlx): support for custom Acceptable function (#3405) 2023-07-10 01:16:45 +00:00
Kevin Wan
f6bdb6e1de
chore: add more tests (#3338) 2023-06-12 01:22:20 +08:00
Kevin Wan
84adc054bc
chore: add more tests (#3296) 2023-05-29 07:39:41 +08:00
Kevin Wan
28d3905731
chore: add more tests (#3294) 2023-05-28 19:26:45 +08:00
hc
3726851c7f
feat: sqlc add SetCacheWithExpire method (#3249)
Co-authored-by: luohancai <luohancai@taqu.cn>
2023-05-28 12:27:30 +08:00
Kevin Wan
cd0f3726ed
chore: add more tests (#3288) 2023-05-27 21:49:11 +08:00
me-cs
0217044900
update:Use the Milliseconds method of duration to get the number of milliseconds (#3285)
Co-authored-by: Kevin Wan <wanjunfeng@gmail.com>
2023-05-26 14:32:46 +00:00
Kevin Wan
99ce24e2ab
chore: add more tests (#3260) 2023-05-19 00:56:50 +08:00
Kevin Wan
55e2c7ee83
chore: add more tests (#3258) 2023-05-18 23:11:32 +08:00
Kevin Wan
90839965fa
chore: remove directive for tests (#3257) 2023-05-18 21:34:33 +08:00
Kevin Wan
f7228e9af1
chore: add more tests (#3256) 2023-05-18 12:24:04 +08:00
Kevin Wan
bff5b81ad9
feat: support using session to execute statements in transaction (#3252) 2023-05-17 14:15:24 +00:00
Kevin Wan
8ffe4c01d1
chore: use logx.Must instead of log.Fatal (#3189) 2023-04-29 23:46:04 +08:00
Kevin Wan
14caf5c799
chore: simplify tests with logtest (#3184) 2023-04-29 20:36:29 +08:00
cong
22fad4bb9c
feat(trace): add trace test helpers (#3108) 2023-04-08 14:52:25 +00:00
cong
5da8a93c75
feat(redis): add ScriptRun API and migrate EvalCtx to ScriptRun for limit, lock and bloom (#3087) 2023-04-02 11:28:25 +08:00
cong
b49fc81618
refactor(redistest): simplify redistest.CreateRedis API (#3086) 2023-04-01 05:02:21 +00:00
cong
95b85336d6
refactor(redis): add NonBlock config, disable redis ping by default (#3073) 2023-03-29 02:28:12 +00:00
guoguangwu
ca4ce7bce8
fix : misspelled word (#3075) 2023-03-29 02:25:26 +00:00
Kevin Wan
cca45be3c5
chore: refactor orm code (#3015) 2023-03-11 18:03:20 +08:00
YK.xiong
e735915d89
fix QueryRowsPartial getTaggedFieldValueMap func (#2884)
Co-authored-by: yongkun.xiong <weilone@vip.qq.com>
2023-03-11 07:28:09 +00:00
Kevin Wan
7a0c04bc21
feat: unique redis addrs and trim spaces (#3004) 2023-03-10 16:09:07 +08:00
iyyzh
3c9fe0b381
init postgresql err (#3003) 2023-03-10 05:58:07 +00:00
文豆芽
f8b2dc8c9f
reids cluster bug (#2986)
Co-authored-by: shaocongcong <shao.congcong@yalla.live>
2023-03-09 21:37:34 +08:00
fabio
cb7f3e8a17
feat(redis):add LpopCount,RpopCount (#2990) 2023-03-09 05:45:45 +00:00
anqiansong
a2592a17e9 format code 2023-03-08 15:32:08 +00:00
anqiansong
05abf4a2ff fix typo 2023-03-08 15:32:08 +00:00
Kevin Wan
a05fe7bf0a
chore: remove optional in redis config (#2979) 2023-03-07 14:58:04 +08:00
Kevin Wan
d953675085
chore: add tests (#2960) 2023-03-04 20:34:15 +08:00