33 Commits

Author SHA1 Message Date
Fahad Khan
cbfbf97af1 added BootStrap call in case where default db name is not used 2024-09-21 16:44:12 +08:00
Ming Deng
95a8a61d2b
fix 5530: use orm.DebugLog (#5532)
* fix 5500: querySet should not be changed when constructing SQL

* fix 5530: use orm.DebugLog
2023-11-27 23:43:59 +08:00
Ming Deng
2d0da431cb
refactor: move the modelCache to internal/models package (#5306) 2023-08-28 21:10:31 +08:00
mlgd
bd01665cb1
Fix setPK function for table without primary key (#5276) 2023-07-14 15:00:02 +08:00
Deng Ming
34c5f1d54d Merge branch 'develop' of github.com:beego/beego into develop 2023-06-08 23:51:55 +08:00
Deng Ming
059c504132 orm: refactor ORM introducing internal/models pkg 2023-06-08 22:46:28 +08:00
Deng Ming
3e96b23551 httplib: fix unstable test, do not use httplib.org 2023-06-04 14:32:51 +08:00
Deng Ming
5ade9fa025 format code 2022-12-23 11:31:00 +08:00
greenhandatsjtu
f9d2b4cb9a Refactor ORM: rename _modelCache struct to modelCache 2022-05-21 10:06:31 +08:00
Deng Ming
3e886f71ca replace beego.me with beego.vip 2021-11-29 21:29:29 +08:00
Cr
b1fbaa71c3
refactor: fix deepsource analyze 2021-09-07 09:51:33 +08:00
Cr
47f9746e11
refactor: fix deepsource analyze 2021-09-07 09:43:27 +08:00
Cr
7abf5669e4
refactor(wip): fix deepsource analyze 2021-09-06 16:48:22 +08:00
Cr
915cdb94bc
refactor(wip): fix deepsource analyze 2021-09-06 16:04:03 +08:00
Cr
d6866b6b2e
refactor(wip): fix deepsource analyze 2021-09-06 14:05:19 +08:00
Cr
0e9b2c27ea
fix(orm): txOrm miss debug log 2021-09-03 14:23:09 +08:00
Ming Deng
4437c6eb11 merge master 2021-09-03 11:40:13 +08:00
Ming Deng
d91a22c453 Fix 4734: do not reset id in Delete function 2021-08-19 21:45:33 +08:00
loyalsoldier
1b8c801ec6
Fix lint and format code in client/orm dir 2021-06-06 20:52:38 +08:00
loyalsoldier
91d993b7e2
Fix imports by gci 2021-05-19 22:28:05 +08:00
Ming Deng
c5bd3c3996 Support RollbackUnlessCommit 2021-03-21 23:52:55 +08:00
Jihoon Seo
113b90531c Apply goimports' modifications 2021-01-28 13:42:03 +09: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
791c28b1d4 fix imports 2021-01-09 22:16:21 +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
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
jianzhiyao
f8fb50999b move dir 2020-10-29 19:05:32 +08:00
jianzhiyao
6d828e7939 move dir and add ut for ParseOrder 2020-10-27 19:32:56 +08:00
Anker Jam
544c621017 move dir & delete some useless function 2020-10-25 23:11:05 +08:00
Anker Jam
9bd2934e42 add order clause 2020-10-25 21:07:03 +08:00
Ming Deng
14c1b76569 remove pkg directory;
remove build directory;
remove githook directory;
2020-10-08 18:29:36 +08:00