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
aa522f7d98
Improve code ( #1552 )
...
Change filters
Fix test
add more tests on drone
add more tests on drone
Improve code
Reviewed-on: https://gitea.com/xorm/xorm/pulls/1552
2020-02-27 03:33:40 +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
Lunny Xiao
1735906dcc
Support local sql log ( #1338 )
2019-10-21 03:42:26 +00:00
Lunny Xiao
c9b14f9487
move depends package from github.com to customize domain ( #1327 )
2019-06-17 13:38:13 +08:00
Masaki.Yamamoto
8a61b3a8a9
Fix spelling inconsistency ( #1317 )
2019-06-06 10:55:52 +08:00
Lunny Xiao
6fe3ab6075
fix #1075 and replace #1076 ( #1101 )
...
* fix #1075 and replace #1076
* fix bug when session resue
2019-01-20 12:45:38 +08:00
Lunny Xiao
5750e3f90a
Add context support ( #1193 )
...
* add context support
* improve pingcontext tests
2019-01-20 11:01:14 +08:00
Lunny Xiao
4ce90f9a62
Exec support builder ( #1064 )
2018-08-09 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
aab77ab84c
refactor for value2String ( #713 )
2017-09-09 19:21:05 +08:00
Lunny Xiao
763e1b21e6
Add query interface ( #695 )
...
* add query interface
* fix tests of query interface
2017-08-27 22:09:31 +08:00
Lunny Xiao
bb639f6700
refactor query functions ( #689 )
...
* refactor query functions
* remove unused function
* remove unnecessary resetStatement and some improvements
* rename all Id to ID
2017-08-27 15:50:43 +08:00
Lunny Xiao
d7f04c3cec
fix query string bug when value is nil ( #692 )
2017-08-26 09:38:40 +08:00
Lunny Xiao
f1aebd5729
hide all undocument variables on session ( #660 )
2017-07-27 13:32:35 +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
a55bded518
refactors
2017-04-12 23:39:33 +08:00
Lunny Xiao
8fd0fd9c7b
refactors
2017-04-12 23:36:46 +08:00
Lunny Xiao
5497f76c84
add QueryString support
2017-04-01 10:35:27 +08:00
Lunny Xiao
44b70cccf4
add Find ints support & split session into multiple files
2017-01-03 13:31:47 +08:00