Commit Graph

13 Commits

Author SHA1 Message Date
DrWrong(Yuhang) f16ce722ec Fix BUG: Update statement build function should ingore ONLYFROMDB fields (#1012)
* Fix BUG: Update statement build function should ingore ONLYFROMDB fields

* Add test case

* Modify test case
2018-06-23 14:59:01 +08:00
Lunny Xiao 0f339654dd
fix cols and distinct conflicts (#927) 2018-05-04 13:09:54 +08:00
Lunny Xiao 109cb1a7d0 Add support Engine Group (#748)
* add support group engine

* revert code

* add NewGroup function

* add engine group policy

* rename file name

* modify policy interface

* remove Init function from policy interface

* refactor Group Policy

* rename and comments

* rename and bug fix for WeightRoundRobinPolicy

* modify Slave function

* modify Slave function and add LeastConnPolicy

* use original Engine and Session

* remove unused count variables

* fix bug on NewEngineGroup

* remove unused method

* improve range and refactor

* add some comments and refactor

* implement GroupPolicy of GroupPolicyHandler

* refactor

* simple code

* add tests support for EngineGroup & fix some bugs

* improve the NewEngineGroup interface

* change the default policy of engine group

* fix some tests
2017-10-16 15:28:13 +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 7b26afd65c
fix tests 2017-05-27 19:19:47 +08:00
Lunny Xiao 30dcce510d
go test add mysql and postgres drivers 2017-04-10 23:10:59 +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 5789833408
first part to resolve #504 2017-03-27 15:45:15 +08:00
Lunny Xiao 86cf0e8c3c
add test framework 2017-03-23 14:05:32 +08:00
Lunny Xiao 664a52a6d7
some gofmt & golint fixed 2017-01-09 09:52:23 +08:00
Sergey f31f552026 Getting flag for the column via helper method (#492) 2016-11-12 11:30:16 +08:00
Sergey Kurt 326f075fd7 Fixed generation in case of skipping last column 2016-11-08 12:32:08 +03:00
Sergey Kurt a618e46460 Columns string generation via bytes.Buffer 2016-11-07 14:47:42 +03:00