7 Commits

Author SHA1 Message Date
luxcgo
0654bff7d5
use sync.Once to replace lock (#5710)
* use atomic operation to optimize performance

* use sync.Once to replace lock
2024-10-05 22:43:21 +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
smx_Morgan
c55099756c
support db_type in ddl (#5404)
* support db_type in ddl

* postgres test fixed

* CHANGELOG.md

* mysql bug
2023-09-14 21:59:30 +08:00
Ming Deng
2d0da431cb
refactor: move the modelCache to internal/models package (#5306) 2023-08-28 21:10:31 +08:00
Uzziah
20a5030842
fix: refactor InsertValue method (#5267)
* fix: refactor insertValue method and add the test

* fix: exec goimports and add Licence file header

* fix: modify construct method of dbBase

* fix: add modify record into CHANGELOG
2023-06-29 21:33:46 +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