1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 21:51:28 +00:00
Commit Graph

29 Commits

Author SHA1 Message Date
mlgd
3332dbe595 Update for MySQL timezone detection bug
Use "DefaultTimeLoc" for "al.TZ" default value
Don't set TZ on alias when t.Location() is empty

You can set your MySQL server timezone on main.go init function.
Example :
orm.DefaultTimeLoc, _ = time.LoadLocation("Europe/Paris")
2017-10-26 14:32:42 +02:00
astaxie
a91e2e9950 add golint check and fix all golints 2017-04-30 22:41:23 +08:00
astaxie
e810f2e930 add more oracle alias 2017-04-24 21:36:07 +08:00
Sergey Lanzman
37c1ffc57a add go simple support 2017-03-17 20:22:20 +02:00
astaxie
c697b98006 enhancement 2016-09-01 23:28:34 +08:00
astaxie
3a12e238cc support oracle 2016-03-10 21:23:13 +08:00
astaxie
4823a0f114 remove the dead code 2015-09-17 23:47:26 +08:00
ngaut
c73e0395ed Orm: Support TiDB 2015-09-17 17:04:23 +08:00
astaxie
68ec133aa8 golint orm 2015-09-12 21:46:43 +08:00
astaxie
a144769515 update the documents & comments 2014-08-18 16:41:43 +08:00
astaxie
e635e274d4 Merge branch 'master' into develop 2014-07-09 08:43:37 +08:00
sandysong
707c951302 修正Detect Engine错误 2014-07-04 16:57:37 +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
slene
d5b5c18cf9 orm add GetDB api #433 2014-03-12 15:56:05 +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
傅小黑
f5a5ebe16b add comments for orm packages, part 1 2014-01-17 17:04:15 +08:00
slene
8d79f8387b #441 fix detect timezone in mysql 2014-01-10 16:50:03 +08:00
slene
fc339fc3e0 orm detect mysql timezone #403 2013-12-21 21:00:29 +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
f4b3e7e4d2 orm small update 2013-08-13 19:33:43 +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
46668b811f some fix / add test 2013-08-07 19:11:44 +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