Lunny Xiao
a63a26eb20
Improve ci tests ( #1477 )
2019-11-13 05:54:10 +00:00
Lunny Xiao
da95db5ddc
fix bug when update with setexpr ( #1446 )
2019-10-02 08:14:48 +08: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
Wendell Sun
1c2d47e0da
add deleted condition for Update operation ( #1249 )
2019-03-13 19:02:41 +08:00
Lunny Xiao
1bcc25420d
Add tests for tidb ( #1207 )
...
* add tests for tidb
* ignore select for update tests
2019-02-01 11:31:51 +08:00
Lunny Xiao
c68531db53
Add lasterror on statement to return errors when chain operations ( #1151 )
...
* add lasterror on statement to return errors when chain operations
* add tests for last error
* refactor error
2019-01-20 11:45:42 +08:00
陈文强
4b224e8823
Fix genUpdateColumns() should not ignore soft delete column when unscoped ( #1051 )
2018-07-26 20:05:25 +08:00
Lunny Xiao
d1e0fe932e
add testing for update via condition bean ( #918 )
2018-04-29 22:09:22 +08:00
Lunny Xiao
636ccefbc7
fix update map with table name ( #888 )
...
* fix update map with table name
* fix bug update map when cache enabled
* refactor cacheInsert
* fix cache test
2018-04-11 23:09:46 +08:00
Lunny Xiao
3ef987ad24
add test for update map ( #883 )
2018-04-11 13:37:05 +08:00
Lunny Xiao
bd20c37bfb
Add SetSchema for engine ( #876 )
...
* add SetSchema for engine
* fix user
* fix postgres with schema
* fix test
* fix test
* fix test
* fix tablename
* refactor tableName
* fix schema support
* improve the interface of EngineInterface
2018-04-10 09:50:29 +08:00
Lunny Xiao
865979f716
add support for map[string]interface{} as condition on Update and Where ( #764 )
2017-10-30 11:07:56 +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
d9565718bc
Add test for updated created ( #727 )
...
* add test for updated created
* more tests
2017-09-16 18:48:03 +08:00
Lunny Xiao
3101e3bc44
fix conflicts between Cols and updated ( #725 )
2017-09-15 09:51:15 +08:00
Lunny Xiao
0f250847e5
add more tests for created int64 ( #715 )
2017-09-10 11:55:24 +08:00
Lunny Xiao
265dd66928
fix bug on cache delete ( #703 )
...
* fix bug on cache delete
* fix cache issues and improve the tests
2017-09-09 11:03:34 +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
0fdfa8d8de
fix bug on update ( #676 )
2017-08-05 10:46:29 +08:00
Lunny Xiao
e963288b0b
add Decr test ( #666 )
2017-07-27 17:57:38 +08:00
Lunny Xiao
305eb27bcf
improve update error when no conent to be updated ( #648 )
2017-07-21 16:42:23 +08:00
Lunny Xiao
d9e6f21d60
fix bugs cols with incr when update ( #623 )
2017-06-20 15:43:21 +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
244841c035
more tests ( #601 )
2017-05-31 16:45:15 +08:00
Lunny Xiao
9033c97e4d
add update test for #555 ( #598 )
...
* add update test for #555
* fix tests
2017-05-31 11:13:06 +08:00
Lunny Xiao
7154d2c42d
add more tests ( #595 )
...
* add more tests
* fix tests
2017-05-30 20:33:30 +08:00
Lunny Xiao
08956a4864
fix #544
2017-03-27 18:14:40 +08:00
Lunny Xiao
aa18589b49
add test for confirmation to fix #443
2017-03-26 21:11:56 +08:00