Commit Graph

402 Commits

Author SHA1 Message Date
Lunny Xiao a8b9f5d8b8 bug fixed and code refactoring 2014-04-11 23:33:56 +08:00
Nash Tsai b1dfd648f2 fixed #86, increment version field after update 2014-04-11 21:31:44 +08:00
Nash Tsai 81c947b61b flattened dialects dir and register db dialect for assocaited registered driver 2014-04-11 21:06:11 +08:00
Nash Tsai a0919b5371 remove xorm dir as it's relocated to github.com/go-xorm/cmd 2014-04-11 17:29:00 +08:00
Lunny Xiao e7277992ad Merge branch 'dev' of github.com:go-xorm/xorm into dev 2014-04-11 17:24:25 +08:00
Lunny Xiao f30dadfd02 move tests to a sereprated repository 2014-04-11 17:22:21 +08:00
Nash Tsai 1213bc14b5 renamed import path 2014-04-11 17:16:43 +08:00
Lunny Xiao 128db9c792 bug fixed and tests passed 2014-04-11 17:04:39 +08:00
Lunny Xiao 5080b2b571 Merge branch 'master' into dev
Conflicts:
	dialects/oracle.go
	dialects/postgres.go
	docs/QuickStart.md
	engine.go
	mysql.go
	session.go
	statement.go
	table.go
	tests/base_test.go
	xorm.go
	xorm/go.go
	xorm/reverse.go
2014-04-11 15:37:27 +08:00
Lunny Xiao 6181361116 docs added TableName 2014-04-08 16:50:43 +08:00
Lunny Xiao 9b23e7d6c0 resolved #89: if struct has func, the struct's name is the result 2014-04-08 16:46:23 +08:00
Lunny Xiao 9d5f834eb2 bug fixed & add MustCols function & improved docs 2014-04-06 12:58:16 +08:00
Lunny Xiao 6e7cead1ec remove debug info 2014-04-05 22:18:25 +08:00
Lunny Xiao a1e3dd8db0 comment ql 2014-04-05 22:17:12 +08:00
Lunny Xiao 9d64ef5013 bug fixed 2014-04-05 22:14:00 +08:00
Lunny Xiao ff3a06b3dc ql support 2014-03-28 15:03:35 +08:00
Lunny Xiao 182428e13d add use case gogs 2014-03-27 22:16:06 +08:00
Lunny Xiao 3aed2090a0 add AllCols for update all cols 2014-03-24 20:41:07 +08:00
Lunny Xiao 8d5bd092d8 license 2014-03-23 17:16:11 +08:00
Lunny Xiao f955c21364 merge 2014-03-20 22:04:02 +08:00
lunny 11aa2a973c Init commit 2014-03-20 13:46:32 +00:00
Lunny Xiao 4b78ab34db merge 2014-03-19 17:07:22 +08:00
xiaoxiao d97ff5ee86 Init commit 2014-03-19 16:55:50 +08:00
Lunny Xiao 1c81f52576 update tests 2014-03-14 15:05:58 +08:00
Lunny Xiao df3bda568b improved QuickStart.md 2014-03-12 23:23:01 +08:00
Lunny Xiao 45b3f9775e bug fixed for statement.IdParam 2014-02-25 18:45:24 +08:00
Lunny Xiao 146d5db5ea bug fixed 2014-02-18 14:10:51 +08:00
Lunny Xiao 2373ec2e0b Merge branch 'master' of github.com:lunny/xorm 2014-02-12 15:11:09 +08:00
Lunny Xiao f76bd3b102 add gobuild as cases 2014-02-12 15:10:37 +08:00
lunny ae7e2f8e3d Merge pull request #58 from nashtsai/patch-1
Update CONTRIBUTING.md
2014-02-12 12:42:11 +08:00
Nash Tsai 1927a64cf3 Update CONTRIBUTING.md
add links for fork a repo to
2014-02-12 11:29:27 +08:00
lunny d9a6d58814 Merge pull request #57 from nashtsai/dev-logger
private Engine.LogSQL and create ILogger interface that is compatible wi...
2014-02-12 10:14:04 +08:00
Nash Tsai 4f6106e168 private Engine.LogSQL and create ILogger interface that is compatible with log/syslog package. Also fixed use of LogError instead of LogSQL 2014-02-12 01:35:26 +08:00
lunny f3c9d18bb8 Merge pull request #56 from admpub/master
补遗
2014-02-11 22:23:13 +08:00
商讯在线 d0567a63b4 补遗
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
2014-02-11 21:42:14 +08:00
Lunny Xiao 2c79b61741 add map & struct methods for core.Stmt 2014-02-11 15:07:21 +08:00
Lunny Xiao b66e7aa067 use core.DB instead of sql.DB 2014-02-11 14:59:04 +08:00
Lunny Xiao 245d1fafb5 move types to core subdir 2014-02-11 14:16:14 +08:00
Lunny Xiao a76d74804f a little performance improved 2014-02-10 15:36:25 +08:00
Lunny Xiao da96e0cc86 a little perfomance improved 2014-02-10 13:56:29 +08:00
Lunny Xiao 781062130a add cachemapper 2014-02-10 11:26:08 +08:00
Lunny Xiao c31c21b051 add querymap & querystruct for tx 2014-02-10 10:03:13 +08:00
lunny e91ca94921 Merge pull request #55 from admpub/patch-1
fixbug: xorm reverse; miss empty string for default value
2014-02-08 11:55:12 +08:00
Lunny Xiao e462de93e9 add Row, Stmt etc. for db.go 2014-02-08 11:44:56 +08:00
S.W.H fc0372f6bc Merge pull request #2 from admpub/master
更新到最新版
2014-01-29 21:27:19 -08:00
商讯在线 46fe2ce87e 一、xorm反转工具bug修复:
1、xorm反转工具增加表前缀支持;
2、修正decimal(5, 2)类型中括号内出现空格导致解析出错的bug;
3、修正xorm解析工具在windows环境下,指定生成路径时model名获取不正确的bug
二、xorm对于数据字段类型为文本类型默认值为空白字符的情况下,生成的struct中default信息丢失的bug,已修正。

Signed-off-by: 商讯在线 <swhbox@foxmail.com>
2014-01-30 13:10:15 +08:00
S.W.H 2c76a894c7 Merge pull request #1 from admpub/patch-2
fixbug: parse DECIMAL(10, 2) failure.
2014-01-27 05:34:18 -08:00
S.W.H d4f8196920 fixbug: parse DECIMAL(10, 2) failure. 2014-01-27 21:28:13 +08:00
S.W.H 9e267ad5c3 fixbug: parse DECIMAL(10, 2) failure. 2014-01-27 21:25:49 +08:00
Lunny Xiao e28f65b0ce improved benchmark test for db.go 2014-01-27 21:01:52 +08:00