1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-16 19:10:55 +00:00
Commit Graph

66 Commits

Author SHA1 Message Date
slene
690d77e985 orm test add extra custom JsonField 2013-11-26 21:34:40 +08:00
slene
bcc8f60677 orm add test about CustomField 2013-11-26 18:32:12 +08:00
slene
e5904443d9 fix #302 2013-11-24 19:29:48 +08:00
bronze1man
ceb4aa9e25 [orm] QueryTable with nil ptr struct 2013-11-24 14:26:32 +08:00
slene
16352579f3 #294 2013-11-18 13:21:19 +08:00
slene
167ad203cb orm #276 2013-11-08 22:19:01 +08:00
slene
b644665952 orm set relation column name #259 2013-11-06 22:05:10 +08:00
slene
9492e4131b support reverse m2m relation 2013-11-06 21:08:12 +08:00
slene
89c03870c8 orm fix sqlite3 time convert 2013-11-02 00:51:53 +08:00
slene
1d44018128 orm fix for support custom field 2013-11-02 00:50:08 +08:00
slene
a4df6e403c fix #265 2013-11-01 18:32:03 +08:00
slene
6ea8dd5999 fix #255 2013-10-18 17:37:34 +08:00
slene
d043ebcdd3 orm support complete m2m operation api / auto load related api 2013-10-14 22:31:35 +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
001e33f310 fix #213 2013-09-22 19:20:40 +08:00
slene
09aca2528a orm RegisterDataBase remove default maxIdle/maxConn 2013-09-22 17:51:37 +08:00
slene
a616087cde orm now can specify engine for mysql. add api SetMaxIdleConns/SetMaxOpenConns(go 1.2) 2013-09-16 09:50:32 +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
41dd6e580d orm 1. complete QueryRow/QueryRows api 2. QuerySeter.All support *[]Type and *[]*Type 2013-09-09 22:33:41 +08:00
slene
22d2de9fc7 orm fix 1. support Limit when use QuerySeter.One 2. return Local time 2013-09-06 19:03:47 +08:00
slene
6064a7ab2a orm RawSeter readValues set nil when get NULL 2013-08-30 12:38:32 +08:00
slene
8f5ca303b5 orm fix when use uint as pk 2013-08-30 12:32:05 +08:00
slene
49bbca0ce3 orm Improve syncdb 2013-08-27 12:33:27 +08:00
slene
6686d9235c orm fix create index 2013-08-25 13:50:50 +08:00
slene
7c72b2dca7 orm fix syncdb 2013-08-25 11:35:12 +08:00
slene
4c061feddf orm support custom multi unique / index 2013-08-22 21:19:58 +08:00
slene
02d2990576 orm all docs wiil update to beego.me 2013-08-22 18:35:35 +08:00
slene
94f7ba8bdf orm add uint uint32 uint64 auto increment support 2013-08-22 18:35:26 +08:00
slene
b114f258d6 orm update docs 2013-08-19 22:37:53 +08:00
slene
c38abf35da orm support auto create db 2013-08-19 22:37:39 +08:00
slene
aecf4af7f2 orm update docs 2013-08-17 07:41:22 +08:00
slene
618cbf1e66 orm string type default will use varchar(255) 2013-08-16 22:24:10 +08:00
slene
c81bbf9801 orm now use a filed named Id as default auto primary key, you can ignore orm:"auto" setting 2013-08-16 21:57:39 +08:00
slene
f02b286ad4 orm make offset simple, can use any numeric type 2013-08-16 20:01:18 +08:00
slene
f4b3e7e4d2 orm small update 2013-08-13 19:33:43 +08:00
slene
c6a436ed5d orm docs update 2013-08-13 19:28:37 +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
deb00809a5 orm add missed SetMaxIdleConns 2013-08-12 13:24:45 +08:00
slene
18c09bb2ed orm update docs 2013-08-11 22:27:54 +08:00
slene
45345fa782 orm add postgres support 2013-08-11 22:27:45 +08:00
slene
6c41e6dd78 orm add sqlite3 support, may be support postgres in next commit 2013-08-11 00:15:26 +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
402932aa6e ... haha 2013-08-09 14:04:33 +08:00
slene
f1e2372a56 orm update docs about debug log queries 2013-08-09 13:53:04 +08:00
slene
45aa071261 orm add queries debug logger 2013-08-09 13:20:19 +08:00
slene
8563000235 orm operator args now support multi types eg: []int []*int *int, Model *Model 2013-08-08 22:34:18 +08:00
slene
9047d21ec5 orm fix, def a string in model but use int in db may cause nil pointer error 2013-08-08 22:15:27 +08:00