Lunny Xiao
|
1992491553
|
license
|
2015-04-28 16:25:04 +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 |
马金凯
|
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 |
ilisin
|
7acdf292bf
|
for oracle support
modify base on lastest version of xorm
|
2015-03-05 09:56:15 +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
|
5af80770ea
|
bug fixed #210
|
2015-02-16 21:12:22 +08:00 |
Lunny Xiao
|
2876528540
|
add IsTableExist & IsTableEmpty
|
2015-02-12 11:46:03 +08:00 |
江林锦
|
5b2b0091de
|
Expr() => SetExpr()
|
2015-01-28 14:10:45 +08:00 |
江林锦
|
5a47ac4347
|
implement Expr()
|
2015-01-28 13:23:01 +08:00 |
Lunny Xiao
|
dcc529b68a
|
remove unused method
|
2014-12-27 14:02:16 +08:00 |
Lucas Liu
|
ad66c0ef35
|
fix the insert multi and sqlite3 dis-match
|
2014-12-02 13:27:00 +08:00 |
Lunny Xiao
|
7f7a91430d
|
Merge branch 'master' of github.com:go-xorm/xorm
|
2014-11-20 15:05:14 +08:00 |
商讯在线
|
730ed76c5d
|
Support table alias
|
2014-11-19 00:41:03 +08:00 |
Lunny Xiao
|
3a5d5aa786
|
cache support all kinds of primary keys
|
2014-11-08 11:12:37 +08:00 |
Lunny Xiao
|
d9efbdccd7
|
add cache for string
|
2014-11-07 17:56:33 +08:00 |
Lunny Xiao
|
7db23ba469
|
bug fixed for unscoped
|
2014-11-05 15:40:44 +08:00 |
oinume
|
f087929082
|
Move 'unscoped' field from Engine to Statement.
See https://github.com/go-xorm/xorm/pull/175#issuecomment-61599948
|
2014-11-05 16:04:53 +09:00 |
oinume
|
42f0fc27ea
|
Tag name changed: softdelete -> deleted
|
2014-11-05 15:29:34 +09:00 |
Kazuhiro Oinuma
|
b510fc584f
|
Add softdelete feature
|
2014-11-03 22:03:12 +09:00 |
商讯在线
|
555eb9abb9
|
update
|
2014-10-30 22:30:30 +08:00 |
Lunny Xiao
|
f7406f81b4
|
add StoreEngine for Sync2 when use mysql
|
2014-10-28 23:10:06 +08:00 |
Lunny Xiao
|
6b7fc81941
|
add auto-migrate from varchar to text for postgres
|
2014-09-08 11:09:42 +08:00 |
Lunny Xiao
|
c350aa3288
|
bug fixed
|
2014-09-05 11:13:23 +08:00 |
Nash Tsai
|
4d8beb4bbf
|
resolved merge from origin/master
|
2014-09-04 23:02:23 +08:00 |
商讯在线
|
2f4fa912b9
|
improved
|
2014-08-30 22:17:59 +08:00 |
Nash Tsai
|
0491cec2e6
|
changed to cache and nocache tag value support
public Engine.TableInfo() API
|
2014-08-29 00:34:09 +08:00 |
Lunny Xiao
|
af7dd2bcf7
|
improved Sync2 method
|
2014-08-28 23:30:18 +08:00 |
Nash Tsai
|
524993f44d
|
Merge branch 'master' into feature/cacher-tag
|
2014-08-28 23:22:11 +08:00 |
Lunny Xiao
|
e9059acd4d
|
Merge branch 'master' of github.com:go-xorm/xorm
|
2014-08-28 22:53:40 +08:00 |
Lunny Xiao
|
0fa2433cf9
|
improved Sync2 method
|
2014-08-28 22:48:01 +08:00 |
商讯在线
|
34e79e0d63
|
fix bugs https://github.com/go-xorm/cmd/issues/3
Signed-off-by: 商讯在线 <swhbox@foxmail.com>
|
2014-08-24 21:15:16 +08:00 |
Nash Tsai
|
49b33f3e22
|
Merge branch 'master' into feature/cacher-tag
|
2014-08-22 17:57:33 +08:00 |
Nash Tsai
|
64790ba262
|
fixed code error
|
2014-08-22 17:57:17 +08:00 |
Nash Tsai
|
48798e566f
|
Merge remote-tracking branch 'origin/master' into feature/cacher-tag
|
2014-08-22 16:55:43 +08:00 |
Nash Tsai
|
01b89af2ce
|
maintain backward compatibility on engine's logging settings
|
2014-08-22 16:39:59 +08:00 |
Nash Tsai
|
90d1be45a2
|
update ILogger interface, to reduce performance cost where string format or concat is done when it's need to write out
|
2014-08-20 10:37:52 +08:00 |
Nash Tsai
|
9ae84a13fc
|
add TODO comments
|
2014-08-20 09:46:18 +08:00 |
Nash Tsai
|
0c227ead0f
|
add log level support to simple logger
|
2014-08-20 09:38:52 +08:00 |
Nash Tsai
|
6958d6d3dc
|
guard uninitialized time in func (engine *Engine) TZTime(t time.Time)
|
2014-08-19 10:38:57 +08:00 |
Nash Tsai
|
236970548e
|
resolved merge
|
2014-08-11 20:02:14 +08:00 |
Nash Tsai
|
f33ed5b947
|
fix error using ioutil.Discard
|
2014-08-11 20:00:13 +08:00 |
Lunny Xiao
|
4c38b4de47
|
add set type
|
2014-08-07 22:18:15 +08:00 |
Nash Tsai
|
40d500a8b9
|
add Engine.LogSQLQueryTime and Engine.LogSQLExecutionTime for SQL execution time logging
|
2014-07-21 14:56:26 +08:00 |
Nash Tsai
|
2b4273578a
|
Merge remote-tracking branch 'origin/master' into feature/cacher-tag
|
2014-07-21 12:43:06 +08:00 |
Nash Tsai
|
6e37d48701
|
fixed missing engine.LogWarnf replacement
|
2014-07-21 12:05:07 +08:00 |