Commit Graph

142 Commits

Author SHA1 Message Date
Lunny Xiao 44623fc395
Cache limit test (#917)
* add test for cache with limit

* change the version
2018-04-29 20:36:55 +08:00
Lunny Xiao fc1b13e0d8
v0.6.6 2018-04-13 17:45:25 +08:00
Lunny Xiao 636ccefbc7
fix update map with table name (#888)
* fix update map with table name

* fix bug update map when cache enabled

* refactor cacheInsert

* fix cache test
2018-04-11 23:09:46 +08:00
Lunny Xiao e98616d656
update README 2018-04-10 10:18:32 +08:00
m2nlight 11743c1a80 Add NewEngineWithParams method can call SetParams for dialect. The dialect_… (#798)
* Add NewEngine2 method can call SetArguments for dialect. The dialect_mysql support ROW_FORMAT in createtable. (https://github.com/go-xorm/xorm/issues/793)

* Rename NewEngine2 to NewEngineWithParams

* rename SetArguments to SetParams

* rename SetArguments to SetParmas
2018-03-08 09:30:38 +08:00
Lunny Xiao c29485f954 fix bugs on Get (#718) 2017-09-10 20:58:18 +08:00
Lunny Xiao f43b29056d fix bug on new engine (#679) 2017-08-07 11:33:52 +08:00
Lunny Xiao 774f83c1bc add Exist functions (#640) 2017-07-14 09:20:13 +08:00
Lunny Xiao a4a8e4a739 fix bug and add set conn max lifetime (#606)
* fix sqlite bug and add SetConnMaxLifetime

* add parse for composite keys

* required go 1.5+
2017-06-05 15:08:30 +08:00
Lunny Xiao 942887dea0 fix time issues and add some tests for time (#604)
* fix time issues and add some tests for time

* fix tests bug

* fix tests

* some fixes with tests and added mssql support

* fix tests
2017-06-02 16:12:50 +08:00
Lunny Xiao 1ff7790a2e
fix bug for int64 id tag 2017-05-17 17:05:36 +08:00
Lunny Xiao 3c8314e916
change the version 2017-04-12 22:40:28 +08:00
Lunny Xiao 5ebae720bd
add Scan features to Get method 2017-04-01 10:09:00 +08:00
Lunny Xiao bda5f17e01 Handle xorm tags via tagHandler prepared for customerize tag support (#551)
* handle xorm tags via tagHandler prepared for customerize tag support

* add some comments and improvements
2017-03-30 10:39:38 +08:00
Lunny Xiao 91ea7427fe
add cond test and fix missing quote on sum 2017-03-26 20:37:04 +08:00
Lunny Xiao 8074f62d8e
move some functions from session.go to session_cols.go and session_convert.go 2017-03-15 09:29:12 +08:00
Lunny Xiao 673f83cc1e resolved #474 2016-10-23 10:24:43 +08:00
Lunny Xiao e653751f49 resolved #468 2016-10-16 20:53:03 +08:00
Lunny Xiao 291b8fedc3 bug fixed for mssql 2016-10-10 15:07:12 +08:00
Lunny Xiao 1f455336b2 bug fixed for Count 2016-09-29 14:10:03 +08:00
Lunny Xiao e2e54d57c9 resolved #292 #91 2016-09-27 11:17:35 +08:00
Lunny Xiao 7b5ac89633 add *builder.Builder as pointer to .SQL 2016-09-23 10:08:28 +08:00
Lunny Xiao bcc1d3eb5a Merge branch 'builder' 2016-09-21 14:45:28 +08:00
Lunny Xiao 838b2268ae tag v0.5.6 2016-09-21 14:41:07 +08:00
Lunny Xiao c9b09da6e1 rename 2016-09-19 11:13:40 +08:00
Lunny Xiao 01c5ff6337 added condition query builder support via github.com/go-xorm/builder 2016-09-17 20:04:52 +08:00
Lunny Xiao 5ae5bc982a call after-events after autoincrement id set back to struct field 2016-09-16 20:30:33 +08:00
Lunny Xiao 4c7f48fa65 comment a warn log and added pgx driver support 2016-09-07 09:42:30 +08:00
Lunny Xiao 37e2a03a61 resolved #445: sum returned error when no condition matched 2016-09-01 10:15:12 +08:00
Lunny Xiao db48d70fd0 bug fixed for table name detect on insert a slice 2016-08-22 12:56:40 +08:00
Lunny Xiao 01a03a3092 resolved #431 2016-07-28 23:26:14 +08:00
Lunny Xiao b8b1711cde resolved gogits/gogs#3251 2016-07-11 07:21:12 +08:00
Lunny Xiao 5612916fea bug fixed and performance improved for table name 2016-07-09 08:15:53 +08:00
Lunny Xiao 86701ad07e added Sum, Sums, SumsInt methods 2016-07-07 22:34:43 +08:00
Lunny Xiao 9d17789b4d resolved #400 2016-06-30 16:55:34 +08:00
Lunny Xiao 9225f21f45 bug fixed for json unmarshal 2016-06-30 15:43:28 +08:00
Lunny Xiao a01eeeddbc bug fixed 2016-05-08 15:15:39 +08:00
Lunny Xiao 56d649f413 bug fixed for empty struct when update 2016-04-27 11:31:02 +08:00
Lunny Xiao 5c116a34d6 bug fixed #379 2016-04-22 21:43:22 +08:00
Lunny Xiao 0f03658955 some comments, refactors improvements 2016-04-07 08:54:02 +08:00
Lunny Xiao 2b34c682f1 added custom int and string type for primary key support 2016-04-06 22:19:38 +08:00
Lunny Xiao 2f8952d39b serious extends bug fixed & correct logger file path 2016-03-31 22:21:05 +08:00
Lunny Xiao 7d2967c786 join parameters support & many comments 2016-03-29 09:17:06 +08:00
Lunny Xiao a2a2456fa2 bug fixed for log level and improved json scanner 2016-03-24 22:46:24 +08:00
Lunny Xiao 0d2245dad2 the second Where will be treated as And 2016-03-23 16:22:08 +08:00
Lunny Xiao 769f6b3ae6 bug fixed 2016-03-16 23:05:25 +08:00
Lunny Xiao 4d6d506dfb bug fixed for Sync2 2016-03-14 09:40:32 +08:00
Lunny Xiao bfb5784ec5 bug fxied for Sync2 when share the same struct between different tables 2016-03-10 09:39:25 +08:00
Lunny Xiao 5df1bc92df resolved gogits/gogs#2743 2016-03-06 12:05:20 +08:00
Lunny Xiao d92dc9d373 bug resolved for #364 & #365 2016-03-04 17:38:05 +08:00