11 Commits

Author SHA1 Message Date
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
e4b67e86ee
fix 5500: querySet should not be changed when constructing SQL (#5502) 2023-10-06 19:48:10 +08:00
Uzziah
b2a37fe60e
fix: refactor Count method (#5300)
* fix: refactor Count method and add test

* fix: add the change record into the CHANGELOG.md

* fix: refactor the readSQL method and let countSQL reuse readSQL method

* fix: fix the bug in the construction process of the order by clause

* fix: modify the TestCountOrderBy、add the TestCount and TestOrderBy

* fix: move the change record in CHANGELOG.md to developing

---------

Co-authored-by: Ken <azai8599@163.com>
2023-09-12 00:18:04 +08:00
Uzziah
4eea71f1d7
fix: refactor readBatchSQL and readValuesSQL method to reuse readSQL (#5303)
* fix: refactor readBatchSQL and readValuesSQL method to reuse readSQL and add test of the readValuesSQL method

* fix: add the change record into the CHANGELOG.md

* fix: fix the bug for preprocess cols

* fix: resolve the conflict with develop

---------

Co-authored-by: Ken <azai8599@163.com>
2023-08-29 20:56:51 +08:00
Ming Deng
2d0da431cb
refactor: move the modelCache to internal/models package (#5306) 2023-08-28 21:10:31 +08:00
Uzziah
e9d3357643
fix: refactor ReadBatch method (#5298) 2023-08-23 18:35:17 +08:00
Uzziah
46a00d3592
fix: refactor InsertOrUpdate method in dbBase (#5296)
* fix: refactor InsertOrUpdate method in dbBase and add the test

* fix: add the change record to the CHANGELOG.md
2023-08-18 20:47:24 +08:00
Uzziah
a5eda3267a
fix: refactor UpdateBatch method (#5295) 2023-08-14 14:25:26 +08:00
Uzziah
24b41552c5
fix: refactor update sql (#5274)
* fix: refactor UpdateSQL method and add test

* fix: add modify record into CHANGELOG

* fix: modify url in the CHANGELOG

* fix: modify pr url in the CHANGELOG
2023-07-10 21:50:44 +08:00
Uzziah
957c526efb
fix: refactor Delete method (#5271)
* fix: refactor Delete method and add test

* fix: add modify record into CHANGELOG
2023-07-06 19:53:07 +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