Commit Graph

10 Commits

Author SHA1 Message Date
Lunny Xiao 9242b921d8
Join add TableName interface support (#874)
* Join add TableName interface support

* add some tests

* Join add struct support

* more tests
2018-04-08 21:54:24 +08:00
Lunny Xiao b8dec64610
fix findandcount bug with order (#869) 2018-03-26 10:25:39 +08:00
Lunny Xiao 17ee4be6c1
fix findandcount bug (#853) 2018-02-24 17:08:34 +08:00
Lunny Xiao cea778734c
fix FindAndCount bug with Limit (#851) 2018-02-22 20:24:40 -06:00
Lunny Xiao 430fbe866a
add FindAndCount method (#842) 2018-02-07 07:06:13 -06:00
Lunny Xiao 4293dea67e
add test for find (#841) 2018-02-07 06:00:21 -06: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 d9eb2f5f36 Fix find bit (#712)
* fix find bit

* fix error on mysql
2017-09-09 18:56:59 +08:00
Lunny Xiao 7154d2c42d add more tests (#595)
* add more tests

* fix tests
2017-05-30 20:33:30 +08:00
Lunny Xiao 47cb51deca
remove core and builder from vendor since it will break go get 2017-03-28 08:59:37 +08:00