陈文强
4b224e8823
Fix genUpdateColumns() should not ignore soft delete column when unscoped ( #1051 )
2018-07-26 20:05:25 +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
6542364944
refactor buildUpdates ( #884 )
2018-04-11 12:57:13 +08:00
Lunny Xiao
fd4a80bcad
fix id condition not used bug ( #882 )
2018-04-11 11:52:16 +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
7dc8e7623c
fix time tag utc ( #742 )
...
* fix time tag utc
* rename NowTime -> nowTime
2017-09-30 08:59:13 +08:00
Lunny Xiao
3101e3bc44
fix conflicts between Cols and updated ( #725 )
2017-09-15 09:51:15 +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
f1aebd5729
hide all undocument variables on session ( #660 )
2017-07-27 13:32:35 +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
1e055bac01
fix bug and catch more tests ( #613 )
2017-06-08 19:38:52 +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
aae045f9aa
fix #563
2017-04-10 19:45:00 +08:00
Lunny Xiao
41aff46cc7
add update limit support mssql and postgres
2017-03-27 18:29:58 +08:00
Lunny Xiao
08956a4864
fix #544
2017-03-27 18:14:40 +08:00
Bo-Yi Wu
445a934d32
fix: execute after hook. ( #525 )
2017-01-25 19:54:21 +08:00
Lunny Xiao
44b70cccf4
add Find ints support & split session into multiple files
2017-01-03 13:31:47 +08:00