Commit Graph

234 Commits

Author SHA1 Message Date
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
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
江林锦 e5a3b63b75 make SetExpr() available for insert op 2015-01-28 17:05:28 +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 872633e699 improved & bug fixed 2015-01-23 16:25:28 +08:00
Lunny Xiao 2a5d411c8c bug fixed #195 2015-01-14 11:09:42 +08:00
Lunny Xiao dcc529b68a remove unused method 2014-12-27 14:02:16 +08:00
TossPig f75f91bfe0 修改IsDeleted的状态查询
在pqsql下测试通过
2014-11-23 17:59:10 +08:00
Lunny Xiao 70249578f6 Merge branch 'bugfix-deleted-find' of https://github.com/oinume/xorm into oinume-bugfix-deleted-find
Conflicts:
	session.go
2014-11-20 15:24:53 +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
Kazuhiro Oinuma 2f7d3bac1e Fixes #179 2014-11-18 17:17:44 +09:00
Lunny Xiao 3a5d5aa786 cache support all kinds of primary keys 2014-11-08 11:12:37 +08:00
Lunny Xiao a98e9405e1 cache for string primary key 2014-11-07 22:23:23 +08:00
Lunny Xiao d9efbdccd7 add cache for string 2014-11-07 17:56:33 +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
insion ad39b07b09 Update session.go
修正Asc()排序出错的问题..
2014-11-03 11:05:49 +08:00
Lunny Xiao f7406f81b4 add StoreEngine for Sync2 when use mysql 2014-10-28 23:10:06 +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
Nash Tsai 524993f44d Merge branch 'master' into feature/cacher-tag 2014-08-28 23:22:11 +08:00
Nash Tsai 40dd1987fb Merge branch 'master' of github.com:go-xorm/xorm 2014-08-28 23:13:50 +08:00
Nash Tsai 05d01bf165 add TODO comments 2014-08-28 23:13:41 +08:00
Lunny Xiao 0fa2433cf9 improved Sync2 method 2014-08-28 22:48:01 +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 5f7bf04b0c performance optimization for Find(), 10000 times - MultiRead limit 100 from 24.57s to 5.29s 2014-08-22 00:47:19 +08:00
Lunny Xiao c5a437680d bug fixed for Desc & Asc 2014-08-18 21:20:18 +08:00
Nash Tsai 8164f74b64 update func (session *Session) cacheFind, if no cache hit, continue instead of return error 2014-08-18 16:02:24 +08:00
Nash Tsai 40f3ddd819 Merge remote-tracking branch 'origin/master' into feature/cacher-tag 2014-08-06 15:56:23 +08:00
Lunny Xiao f3b3ef2934 Merge branch 'master' of github.com:go-xorm/xorm 2014-08-05 15:46:08 +08:00
Lunny Xiao 89dc7bb0f7 bug fixed for mssql limit 2014-08-05 15:45:54 +08:00
starChou d22a247759 Update session.go
fix stmt query of 'Get function' bug when an error occurred
2014-07-31 15:30:42 +08:00
Nash Tsai 40d500a8b9 add Engine.LogSQLQueryTime and Engine.LogSQLExecutionTime for SQL execution time logging 2014-07-21 14:56:26 +08:00
kevinGunn f040283a1f add mothod Decr 2014-07-15 23:32:20 +08:00
kevinGunn 3c457a8cf0 add mothod Decr 2014-07-15 23:25:24 +08:00
Nicolas Duval c9db8e93f7 Support uint64 with high bit set.
This limitation is due to "database/sql" go package implementation.
2014-07-11 10:40:41 -07:00
Lunny Xiao 244c0989f2 working on #140 2014-07-09 21:48:48 +08:00
Lunny Xiao c039d40ada bug fixed for joinstr when has two Join 2014-06-25 17:09:49 +08:00
Lunny Xiao 021ad08402 Merge branch 'bug' 2014-06-11 14:01:24 +08:00
Lunny Xiao 6384ada2bb bug fixed 2014-05-31 12:19:46 +08:00
Alfred Hall 62e3e1508e Satisfies the issue mentioned in #110. Introduces flag AutoResetStatement which is by default true, but setting it to false means the statement doesn't get reset. Calling .Init() or setting the flag back to true ensures normal behaviour.
Signed-off-by: Alfred Hall <ahall@ahall.org>
2014-05-30 16:28:51 +00:00
Lunny Xiao e4f05916cb add support for Join 2014-05-23 14:18:45 +08:00
Nash Tsai f4b6ae069c tidy up logSQL 2014-05-16 23:42:47 +08:00
Lunny Xiao 56967f80c8 bug fixed for go1.3beta 2014-05-12 23:27:15 +08:00