Commit Graph

8 Commits

Author SHA1 Message Date
Lunny Xiao af0055f8c7
Merge b8373f09d7 into 9242b921d8 2018-04-08 15:41:05 +00:00
Lunny Xiao 430fbe866a
add FindAndCount method (#842) 2018-02-07 07:06:13 -06:00
Lunny Xiao a6cc098689
QueryString and QueryInterface supports composite conditions (#784) 2017-11-20 16:14:27 +08:00
Lunny Xiao de4b2f9c8e
Query now could work with Where, In, SQL and other condition methods (#776) 2017-11-15 11:34:59 +08:00
Lunny Xiao 23c6999de8
merge EagerGet and EagerFind to Load 2017-10-25 23:54:35 +08:00
Lunny Xiao 567b13889b
rename EagerLoad -> EagerGet 2017-10-25 23:54:35 +08:00
Lunny Xiao 8490767f1e
set column value to belongs_to bean when cascade is disabled 2017-10-25 23:54:34 +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