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

34 Commits

Author SHA1 Message Date
astaxie
e22a5143bc
Merge pull request #3403 from nlimpid/develop
add context for db operation
2018-11-20 15:44:25 +08:00
nlimpid
e56d1b718f add context for db operation 2018-11-18 21:54:25 +08:00
nukc
736e66fcda orm: support filter raw sql 2018-11-05 03:47:21 +08:00
Hu Risheng
1bd3fb7a33
Revert "send ErrNoRows if the query returns zero rows ... in method orm_query…" 2018-08-03 13:35:48 +08:00
mohan2808
293b54192f send ErrNoRows if the query returns zero rows ... in method orm_queryset.All() 2018-07-19 18:51:16 +05:30
hurisheng
fc2c96a177 add 'FOR UPDATE' support for querySet 2018-06-23 22:25:05 +08:00
kerwin
5c76f62103 Add GetCond func to querySet 2017-01-18 17:04:23 +08:00
maxin[马鑫]
56dc9bf622 add return ErrMultiRows 2016-04-25 15:51:12 +08:00
maxin[马鑫]
81c6c898cf remove orm one function thorw ErrMultiRows error 2016-04-13 10:36:12 +08:00
maxin[马鑫]
9679f5e22a reduce the data transmission 2016-04-12 21:28:29 +08:00
maxin[马鑫]
553078d956 change limit 1000 to 1,reduce the amount the data 2016-04-11 09:02:22 +05:30
astaxie
68ec133aa8 golint orm 2015-09-12 21:46:43 +08:00
f0r
a074df9c2e 为querySeter添加GroupBy方法 2015-09-03 00:45:09 +08:00
Pelle Johnsen
0c33673197 Revert spaces > tabs change 2015-08-24 09:41:10 +02:00
Pelle Johnsen
19d82ab62c Fix #1274: Add QuerySeter.Distinct() 2015-07-22 18:12:57 +02:00
Trần Văn Thanh
0222b8d693 fixed: when RelatedSel have multi string/relation, it only get last string 2015-05-25 09:10:36 +08:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie
fefd8ddb5b beego: update licence& fix #669 2014-07-03 23:40:21 +08:00
astaxie
0f170a80da update the comments fix #658 2014-06-25 10:39:37 +08:00
astaxie
c188cbbcb4 update all files License 2014-05-17 02:26:50 +08:00
astaxie
4245521660 fix #576 2014-05-17 02:26:50 +08:00
slene
9384e87083 orm 1. add api: NewOrmWithDB, AddAliasWthDB; 2. RawSeter -> add api: RowsToMap, RowsToStruct; 3. RawSeter -> change api: Values, ValuesList, ValuesFlat add optional params comumns. 2014-01-27 01:48:00 +08:00
FuXiaoHei
828a306069 add comments for orm package, done 2014-01-17 23:28:54 +08:00
slene
5d55ca19be orm add Exist func 2013-10-12 06:57:14 +08:00
slene
bf3830b6f0 orm add atomic set value 2013-10-09 20:28:54 +08:00
slene
658a671b79 all panic use Error 2013-10-09 11:37:16 +08:00
slene
1596aa7a34 orm support use any numeric type set QuerySeter.Limit value 2013-09-13 18:06:44 +08:00
slene
3745bb7279 orm.Read support specify condition fields, orm.Update and QuerySeter All/One support omit fields. 2013-09-12 19:04:39 +08:00
slene
f02b286ad4 orm make offset simple, can use any numeric type 2013-08-16 20:01:18 +08:00
slene
27b84841a7 orm add full regular go type support, such as int8, uint8, byte, rune. add date/datetime timezone support very well. 2013-08-13 17:17:19 +08:00
slene
f2b359d8e8 orm full remove orm.Manager for simple use, add struct tag - for skip struct field 2013-08-09 20:14:18 +08:00
slene
46668b811f some fix / add test 2013-08-07 19:11:44 +08:00
slene
2c5e062c2b some fix 2013-07-31 22:11:22 +08:00
slene
bce35c708a init orm project, beta, unstable 2013-07-30 20:32:38 +08:00