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
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
Kyle McCullough
190039b6f8
Add a ReadOrCreate method:
...
m := &User{Name: "Kyle"}
// Returns a boolean indicating whether the object was created,
// the primary key of the object, or an error.
created, id, err := orm.ReadOrCreate(m, "Name")
2014-01-22 09:15:21 -06:00
FuXiaoHei
828a306069
add comments for orm package, done
2014-01-17 23:28:54 +08:00
slene
b766f65c26
#436 support insert multi
2014-01-06 11:31:35 +08:00
slene
1d44018128
orm fix for support custom field
2013-11-02 00:50:08 +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
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
49bbca0ce3
orm Improve syncdb
2013-08-27 12:33:27 +08:00
slene
c38abf35da
orm support auto create db
2013-08-19 22:37: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
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
45aa071261
orm add queries debug logger
2013-08-09 13:20:19 +08:00
slene
46668b811f
some fix / add test
2013-08-07 19:11:44 +08:00
slene
51baa35df1
now object crud is simple
2013-08-01 15:51:53 +08:00
slene
b0b64eb404
some change
2013-08-01 09:23:32 +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