Commit Graph

783 Commits

Author SHA1 Message Date
Lunny Xiao aa90a634d4 resolved #176 & cache bug fixed 2015-04-01 16:32:17 +08:00
Lunny Xiao e06b88ec16 version 2015-04-01 10:56:39 +08:00
Lunny Xiao e4b568f3b3 automatically call Rollback in Close, resolved #221, #206 2015-03-31 07:03:41 +08:00
Lunny Xiao e2889e5517 Merge pull request #223 from linquize/mssql-quote
MSSQL: Also use doublequote as quote char to avoid problems
2015-03-26 09:42:05 +08:00
Linquize f353a900f4 MSSQL: Also use doublequote as quote char to avoid problems 2015-03-26 00:38:01 +08:00
Lunny Xiao 1f0dd9bef2 bug fixed for isTableEmpty 2015-03-13 15:26:47 +08:00
Lunny Xiao 044198f373 oracle drop table fixed 2015-03-13 15:20:24 +08:00
Lunny Xiao ba131dd9a0 resolved #199 2015-03-12 22:26:45 +08:00
Lunny Xiao a068aadd27 use old drop table interface 2015-03-12 18:03:52 +08:00
Lunny Xiao 53da67f171 Merge branch 'master' into oci8_support 2015-03-12 17:47:11 +08:00
Lunny Xiao 9ae245b54b bug fixed 2015-03-12 17:46:24 +08:00
Lunny Xiao 479deaff02 oci8 support 2015-03-12 17:21:02 +08:00
Lunny Xiao 4d1ed756e4 Merge pull request #218 from apphost/Issues-non-int-pk-fix
func buildUpdates has same issue, fixed
2015-03-10 12:58:38 +08:00
Zhou d298f91ceb func buildUpdates has same issue, fixed 2015-03-10 09:15:50 +08:00
Lunny Xiao 4677bf58a3 Merge pull request #217 from apphost/Issues-non-int-pk-fix
fix non-int pk issues
2015-03-09 22:39:24 +08:00
Apphost 16b813a159 fix non-int pk issues 2015-03-09 22:00:34 +08:00
Lunny Xiao b2b60e569f Merge pull request #214 from majinkai/patch-1
bugfix #213
2015-03-06 22:18:45 +08:00
Lunny Xiao e8387336f4 Merge pull request #215 from kaneshin/fix_invlaid_memory_helpers
Fix to refer invalid memory access on helpers.go
2015-03-06 22:13:34 +08:00
Shintaro Kaneko 74a9355457 Fix to refer invalid memory access on helpers.go 2015-03-06 12:37:05 +00:00
马金凯 d227340c7a bugfix #213
参考帮助文档 [自动映射的规则](http://gobook.io/read/go-xorm/manual-zh-cn/chapter-02/4.columns.html) 中的说明

> 如果field名称为Id而且类型为int64并且没有定义tag,则会被xorm视为主键,并且拥有自增属性。如果想用Id以外的名字或非int64类型做为主键名,必须在对应的Tag上加上xorm:"pk"来定义主键,加上xorm:"autoincr"作为自增。这里需要注意的是,有些数据库并不允许非主键的自增属性。

因此在使用`core.GonicMapper`时,忽略了ID主键
2015-03-06 16:06:19 +08:00
Lunny Xiao 466b49772b Merge pull request #212 from ilisin/master
for oracle support
2015-03-05 15:19:28 +08:00
ilisin 7acdf292bf for oracle support
modify base on lastest version of xorm
2015-03-05 09:56:15 +08:00
Lunny Xiao ede84cde60 bug fixed 2015-03-03 15:14:44 +08:00
Lunny Xiao 4d5681caf8 oracle support, to be continued 2015-03-03 14:58:01 +08:00
Lunny Xiao 17bc6f0cf2 Merge branch 'master' into oci8_support 2015-03-02 17:27:45 +08:00
Lunny Xiao 26932e9b90 bug fixed #84 2015-02-28 17:31:51 +08:00
Lunny Xiao 11d36774e9 bug fixed 2015-02-28 17:03:28 +08:00
Lunny Xiao 8dcef74e9a bug fixed 2015-02-28 16:15:12 +08:00
Lunny Xiao 1d28ab2dcf bug fxied 2015-02-28 15:45:24 +08:00
Lunny Xiao 0cfd60f101 use DB() instead newDb() 2015-02-25 15:26:52 +08:00
Lunny Xiao 507ee4df02 resolved #163 2015-02-23 12:24:26 +08:00
Lunny Xiao 5cdb680945 add cascade non-int64 primary key support & bug fixed #178 2015-02-22 23:52:53 +08:00
Lunny Xiao 7e3812ca28 created, updated Unix() support 2015-02-22 10:39:35 +08:00
Lunny Xiao 787260824a add wego as case 2015-02-18 08:58:07 +08:00
Lunny Xiao a2becccaa8 bug fixed for sync 2015-02-17 15:02:28 +08:00
Lunny Xiao 5af80770ea bug fixed #210 2015-02-16 21:12:22 +08:00
Lunny Xiao f2d3be988e bug fixed for #208 2015-02-13 22:52:12 +08:00
Lunny Xiao 897fef0bde Merge pull request #207 from seago/master
修复mysql下group by 字段被替换成查询的column的问题
2015-02-13 18:53:52 +08:00
Lunny Xiao ad44696e9a bug fixed #205, thanks chnykn 2015-02-13 18:47:43 +08:00
seago a7766eced1 修复mysql下group by 字段被替换成查询的column的问题 2015-02-13 14:40:08 +08:00
Lunny Xiao a2fe082f1a Revert: remove support for Table(~tablename) 2015-02-12 14:53:59 +08:00
Lunny Xiao 2876528540 add IsTableExist & IsTableEmpty 2015-02-12 11:46:03 +08:00
Lunny Xiao 59fe3e5b9d bug fixed for #205 2015-02-11 16:51:18 +08:00
Lunny Xiao 78a84cbefc Merge branch 'master' of github.com:go-xorm/xorm 2015-02-09 20:10:56 +08:00
Lunny Xiao cbbee101c0 improved doc.go 2015-02-09 20:10:40 +08:00
Nash Tsai edc91fde4c move helper functions to helpers.go 2015-01-29 10:56:20 +08:00
Nash Tsai 10fb4dbb78 checked params for InsertMulti, fixed issue #193, thanks to @blu3gui7ar 2015-01-29 10:36:01 +08:00
Lunny Xiao d2f6f4f1e8 Merge pull request #203 from hilyjiang/master
make SetExpr() available for insert op
2015-01-28 17:18:31 +08:00
江林锦 e5a3b63b75 make SetExpr() available for insert op 2015-01-28 17:05:28 +08:00
Lunny Xiao 5f7fccdb73 Merge pull request #202 from hilyjiang/master
implement Expr()
2015-01-28 14:14:43 +08:00