21 Commits

Author SHA1 Message Date
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
fdcf2e9806
fix: modify InsertOrUpdate method (#5269)
* fix: modify InsertOrUpdate method, Remove the isMulti variable and its associated code

* fix: Delete unnecessary judgment branches

* fix: add modify record into CHANGELOG
2023-07-02 15:31:44 +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
bc63be6d13 fix 5255: Check the rows.Err() if rows.Next() is false 2023-06-20 16:07:23 +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
王哈哈
1bb607b286
Modify comment syntax error (#5094) 2022-11-10 18:22:37 +08:00
Regan Yue
493e7db20b
refine comments for for four files (#5011)
* refine comments for cache.go

* refine comments for log.go

* Update orm.go

* refine comments for orm_log.go,types.go

* Update utils.go

* Update doc.go

* Update db.go
2022-07-09 18:10:19 +08:00
greenhandatsjtu
f9d2b4cb9a Refactor ORM: rename _modelCache struct to modelCache 2022-05-21 10:06:31 +08:00
Ming Deng
745dcf1ead Merge pull request #4740 from zh199225/develop
set a default value "/" for "Path" in the Cookie function when there is not parameter "Path" or the parameter is ""
2021-08-20 19:38:18 +08:00
loyalsoldier
1b8c801ec6
Fix lint and format code in client/orm dir 2021-06-06 20:52:38 +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
AllenX2018
30dbf8fc3a 1.support dynamic registration model
2.support aggregete func
2021-01-04 16:29:03 +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
Ming Deng
14c1b76569 remove pkg directory;
remove build directory;
remove githook directory;
2020-10-08 18:29:36 +08:00