Lunny Xiao
2b62dc5a51
Move statement as a sub package ( #1564 )
...
Fix test
Fix bug
Move statement as a sub package
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1564
2020-02-28 12:29:08 +00:00
Lunny Xiao
5a5375a170
Improve statement ( #1549 )
...
Fix cache bug
Improve statement
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1549
2020-02-27 00:34:16 +00:00
Lunny Xiao
bf25a77bca
Merge core package back into the main repository and split into serval sub packages. ( #1543 )
...
Fix test
Improve fmt
update go.mod
Move core as a sub package
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1543
2020-02-24 08:53:18 +00:00
BetaCat
18b32486cf
remove QuoteStr() usage ( #1360 )
2019-07-24 09:41:06 +08:00
Lunny Xiao
c9b14f9487
move depends package from github.com to customize domain ( #1327 )
2019-06-17 13:38:13 +08:00
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