Ming Deng
89eeedbf9d
Merge branch 'develop' of https://github.com/beego/beego into orm-mock
2021-01-11 23:42:15 +08:00
Penghui Liao
c3b6c01c15
Add InsertWithCtx method on Inserter interface.
...
Signed-off-by: Penghui Liao <liaoishere@gmail.com>
2021-01-11 10:24:03 +08:00
Penghui Liao
ef227bf467
Deprecate QueryM2MWithCtx and QueryTableWithCtx
...
- Add methods with `WithCtx` suffix and remove ctx fileld from QueryStter
and QueryM2M.
- Deprecate QueryTableWithCtx and QueryM2MWithCtx.
Signed-off-by: Penghui Liao <liaoishere@gmail.com>
2021-01-10 23:50:29 +08:00
Penghui Liao
21777d3143
Add context support for orm
...
Signed-off-by: Penghui Liao <liaoishere@gmail.com>
2021-01-10 23:50:11 +08:00
Anker Jam
a93e35244a
Merge branch 'develop' of https://github.com/beego/beego into session-filter
...
# Conflicts:
# CHANGELOG.md
2021-01-10 14:00:49 +08:00
Ming Deng
0139564cf0
Merge pull request #4294 from jianzhiyao/frt/supports_for_4144
...
Frt/supports for issue 4144
2021-01-10 12:08:16 +08:00
Anker Jam
791c28b1d4
fix imports
2021-01-09 22:16:21 +08:00
Anker Jam
3150285542
fix imports
2021-01-09 21:27:30 +08:00
Anker Jam
db4f978982
Merge branch 'develop' into frt/supports_for_4144
...
# Conflicts:
# client/orm/orm_queryset.go
2021-01-09 21:16:27 +08:00
Ming Deng
9105402f8c
reverse filter chain sort and add test to ensure the FIFO
2021-01-08 21:16:21 +08:00
AllenX2018
d29b0a589c
Fix orm many2many generated table error
2021-01-07 11:40:32 +08:00
AllenX2018
30dbf8fc3a
1.support dynamic registration model
...
2.support aggregete func
2021-01-04 16:29:03 +08:00
Ming Deng
c4c4372627
Support ORM mock
2021-01-03 19:25:06 +08:00
Ming Deng
b89dc5068a
Add tests
2021-01-03 16:46:59 +08:00
Ming Deng
44ffb29c55
Move mock to mock directory
2021-01-02 20:21:09 +08:00
Ming Deng
94019c1e1d
Optimize mock
2021-01-01 23:50:54 +08:00
Ming Deng
73d81bafd9
Remove duration from prometheus label
2020-12-26 22:16:17 +08:00
Ming Deng
ef258a0988
Support httplib mock
2020-12-25 22:11:40 +08:00
Chenrui
6027c164eb
test: add test
2020-12-18 17:36:52 +08:00
Chenrui
de27ad816f
fix(orm/orm_raw): missing type time parse
2020-12-17 20:29:41 +08:00
Ming Deng
884677f3a9
Merge pull request #4345 from AllenX2018/fix-issue-4344
...
Fix issue #4344
2020-12-16 00:25:55 +08:00
Ming Deng
385e1d390f
update misspell and gofmt
2020-12-14 13:52:26 +08:00
Ming Deng
d4da82ef77
format code
2020-12-14 12:34:55 +08:00
Ming Deng
7bc6010604
rename to v2
2020-12-14 11:12:00 +08:00
Ming Deng
a70f7fc920
using new organization
2020-12-13 23:09:19 +08:00
AllenX2018
e65a390bdb
add testcases of file cache & memory cache
2020-12-12 18:04:47 +08:00
AllenX2018
f6d5b8fe81
fix bug of incr of cacl_utils.go
2020-12-12 18:02:59 +08:00
AllenX2018
404e3505b2
add testcases of calc_utils.go
2020-12-12 17:51:02 +08:00
AllenX2018
4b10cda1d6
add utils of incr&decr for cache
2020-12-12 17:50:36 +08:00
AllenX2018
db785479ab
fix issue #4331
...
1. Modify Incr&Decr for file cache
2. Add different type of integer testcases for Incr&Decr
2020-12-01 17:18:30 +08:00
Ming Deng
aa05b66ca1
Merge pull request #4328 from flycash/develop
...
expose more error code in web module
2020-11-29 23:05:20 +08:00
Ming Deng
8d7f48ea75
expose more error code in web module
2020-11-29 22:33:03 +08:00
AllenX2018
c6282e7b27
remove ineffectual assignment to err
2020-11-18 09:56:56 +08:00
AllenX2018
6225f0c1e9
fix issue 4311
2020-11-17 20:53:33 +08:00
Ming Deng
05d8e293f7
Merge pull request #4313 from AllenX2018/fix-issue-4312
...
fix issue #4312
2020-11-14 16:04:29 +08:00
AllenX2018
663e5d728c
fix issue #4312
2020-11-13 16:47:22 +08:00
cruis
0a852912b4
调整CI警告
2020-11-13 07:25:21 +08:00
cruis
647e21b0c4
添加Condition单元测试
2020-11-13 00:13:35 +08:00
cruis
8f3fd317da
Fix 4298
...
Condition的clone方法,params存在共享内存,导致isCond死循环。
2020-11-11 16:12:57 +08:00
Ming Deng
0b3bcbd3ec
Fix 4298
2020-11-10 23:30:24 +08:00
jianzhiyao
f864e585e1
fix import
2020-10-29 19:07:42 +08:00
jianzhiyao
f8fb50999b
move dir
2020-10-29 19:05:32 +08:00
Ming Deng
d07a1eaa8e
Add test for httplib
2020-10-27 21:58:39 +08:00
jianzhiyao
759982b3b8
add more UT
2020-10-27 20:01:53 +08:00
jianzhiyao
d147f4a018
format comment
2020-10-27 19:35:35 +08:00
jianzhiyao
6d828e7939
move dir and add ut for ParseOrder
2020-10-27 19:32:56 +08:00
jianzhiyao
beedfa1b53
add UT
2020-10-26 19:52:21 +08:00
jianzhiyao
d24388ad81
opt Methods
2020-10-26 18:57:01 +08:00
Anker Jam
7d4e88c1b9
support raw order
2020-10-26 00:01:15 +08:00
Anker Jam
56fa213a6e
support OrderClauses for QuerySeter
2020-10-25 23:49:21 +08:00