1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 16:50:54 +00:00
Commit Graph

385 Commits

Author SHA1 Message Date
Ming Deng
71776e4bef
Merge pull request #4114 from wangle201210/develop-2.0
Add the operator(>,>=,<,<=,=,!=) of orm
2020-07-30 16:51:02 +08:00
wangle
22b8cae73b Add the operator(>,>=,<,<=,=,!=) of orm
eg:
qs.Filter("counts__>=","20")
qs.Filter("counts__!=","20")
2020-07-29 23:23:02 +08:00
Ming Deng
54ef476600 add tag interfaces and remove log.go 2020-07-28 06:28:51 +00:00
Ming Deng
2e7fb81348 deprecated orm.go and add NewOrmUsingDB method 2020-07-27 21:19:34 +08:00
Ming Deng
79c2157ad4 Fix UT 2020-07-22 15:46:29 +00:00
Ming Deng
30eb889a91 Format code 2020-07-22 23:00:06 +08:00
Ming Deng
9c51952db4 Move package 2020-07-22 22:55:59 +08:00
Ming Deng
44460bc457 Refactor RegisterDatabase 2020-07-20 15:52:40 +00:00
Ming Deng
192a278a2a Fix orm test when using Driver = mysql 2020-07-19 12:56:58 +00:00
Ming Deng
c08b27111c Fix 4059 2020-07-08 23:32:18 +08:00
harry890829
0f6735e20d Merge branch 'develop' of https://github.com/astaxie/beego into develop
 Conflicts:
	go.mod
	go.sum
2020-06-29 16:48:03 +08:00
jianzhiyao
b88b7d2899 fix strings.Repeat panic 2020-06-25 23:48:07 +08:00
Ming Deng
6052524a28
Merge pull request #4028 from jianzhiyao/develop
acquire() in Lock
2020-06-23 23:58:42 +08:00
jianzhiyao
89420eacd0 go destroy 2020-06-23 23:05:58 +08:00
jianzhiyao
6d9862b924 acquire() in Lock 2020-06-23 22:29:41 +08:00
Ming Deng
526a5463d6
Merge pull request #4025 from jianzhiyao/develop
Fix: Too Many Prepare Statement
2020-06-23 20:33:04 +08:00
jianzhiyao
a28d294a83 upgrade acquire method return *sql.Stmt 2020-06-23 13:46:19 +08:00
Ming Deng
7210dc24b6
Merge pull request #3743 from Colstuwjx/fix/orm-end-printstack
Fix/orm end printstack
2020-06-22 23:59:16 +08:00
jianzhiyao
a5e8344a0a add stmt garbage recycle 2020-06-22 23:23:52 +08:00
Ming Deng
e1386c448c
Merge pull request #4022 from jianzhiyao/develop
stmt: fix bug of non concurrent security & add double check
2020-06-21 18:01:14 +08:00
jianzhiyao
decc75e025 fix bug of non concurrent security & add double check 2020-06-21 16:25:32 +08:00
harry890829
dc70e9fc47 update go test 2020-06-15 18:16:40 +08:00
harry890829
a134cb8d17 update go test 2020-06-11 23:45:06 +08:00
harry890829
d9f262e277 update go test 2020-06-10 12:31:38 +08:00
harry890829
71cb1379b4 update support bit operation 2020-06-10 11:15:23 +08:00
Ming Deng
ae15b54f83
Merge pull request #3992 from maxshine/fix-3991
[Fix-Issue-3991] Fix Read with SQLite not supporting SELECT FOR UPDAT…
2020-06-06 13:10:08 +08:00
Yang, Gao
677d010d86 [Fix-Issue-3991] Add warn for SQLite Read is invoked isForUpdate=true 2020-06-01 23:12:12 +08:00
Yang, Gao
8055357576 [Fix-Issue-3991] Fix Read with SQLite not supporting SELECT FOR UPDATE syntax 2020-05-15 17:36:01 +08:00
leapsea
867f83de34 修复数据库连接异常问题 2020-05-09 16:31:30 +08:00
大盖文
92a4119258
Update cmd_utils.go
[Fix] Fix create table with SQLite not supporting COMMENT syntax
2019-12-11 16:50:08 +08:00
Razil
4348356d0a fix annotation on orm/utils 2019-09-09 00:47:20 +08:00
colstuwjx
b551949a2b Add PrintStack() while orm abnormally exit. 2019-07-31 14:08:58 +08:00
astaxie
99647986de
Merge pull request #3689 from GeorgeXc/addStmt
Add stmt
2019-07-05 11:34:40 +08:00
BaoyangChai
5bcde306ea Revert "update"
This reverts commit 2909ff3366.
2019-06-28 23:37:32 +08:00
BaoyangChai
2909ff3366 update 2019-06-28 23:23:01 +08:00
BaoyangChai
40078cba2c update 2019-06-28 23:13:18 +08:00
BaoyangChai
5d0c0a03d7 update 2019-06-28 22:56:32 +08:00
astaxie
c265d32c36
Merge pull request #3685 from Anderson-Lu/fix_orm_datarace
fix orm datarace
2019-06-18 12:05:54 +08:00
BaoyangChai
06692c3e27 update 2019-06-17 23:38:07 +08:00
luxueyan
394a73c75f fix orm datarace 2019-06-14 14:43:02 +08:00
BaoyangChai
873f62edff update 2019-06-09 01:19:17 +08:00
BaoyangChai
cc0eacbe02 update 2019-06-08 23:53:42 +08:00
张勇
3c046a4dbf fix two typos 2019-05-27 16:38:30 +08:00
BaoyangChai
a0ca3d61d6 update 2019-05-08 23:11:57 +08:00
Yang Luo
afb787d49d remove the 1000-row limit for ORM result set 2019-04-27 16:58:00 +08:00
GeorgeXc
0b8ebaf387
Update db.go 2019-03-26 01:00:04 +08:00
BaoyangChai
005391be81 update 2019-03-23 00:33:26 +08:00
BaoyangChai
65f587d5e9 fix ineffectual assignment 2019-02-12 19:05:22 +08:00
BaoyangChai
2fefd8cbbf update len 2019-02-12 18:53:34 +08:00
BaoyangChai
ba17bdd366 add ignore auto_now_add field when update 2019-02-12 18:05:29 +08:00