10 Commits

Author SHA1 Message Date
LumenShip
bb43fb19d9 Update orm_log.go
Refactor debugLogQueries function in orm_log.go

The debugLogQueries function in orm_log.go was modified to fix typos, streamline the formatting of log entries, and include additional data. Key changes include the addition of new entries to logMap, including "alias_name", "operation", "query", "cons", and "err". DebugLog also replaces logs.DebugLog to output the log entry.
2024-07-06 16:56:52 +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
Deng Ming
34c5f1d54d Merge branch 'develop' of github.com:beego/beego into develop 2023-06-08 23:51:55 +08:00
loyalsoldier
1b8c801ec6
Fix lint and format code in client/orm dir 2021-06-06 20:52:38 +08:00
Ming Deng
629d592003 Add change log Support RollbackUnlessCommit 2021-03-22 00:18:58 +08:00
shubhendra
644291c028
Replace time.Now().Sub with time.Since 2021-02-25 15:58:45 +05:30
Penghui Liao
21777d3143 Add context support for orm
Signed-off-by: Penghui Liao <liaoishere@gmail.com>
2021-01-10 23:50:11 +08:00
Ming Deng
d4da82ef77 format code 2020-12-14 12:34:55 +08:00
Ming Deng
14c1b76569 remove pkg directory;
remove build directory;
remove githook directory;
2020-10-08 18:29:36 +08:00