Lunny Xiao
de4b2f9c8e
Query now could work with Where, In, SQL and other condition methods ( #776 )
2017-11-15 11:34:59 +08:00
ming
a620571388
Add a missing dot ( #767 )
2017-11-01 08:41:20 +08:00
Lunny Xiao
23049ffafa
add PingContext support for go1.8+ ( #766 )
2017-10-31 17:30:01 +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
43222cbcaf
add tests for json field string ( #756 )
2017-10-24 19:29:08 +08:00
无间落叶
fdbf36d7ea
add string support ( #730 )
2017-10-24 17:51:27 +08:00
Lunny Xiao
165dd989d0
Add tests for afterinsert ( #755 )
...
* add tests for afterinsert
* fix tests
2017-10-24 16:44:00 +08:00
vlorc
fbf62a9711
after call AfterInsert ( #750 )
...
defer handleAfterInsertProcessorFunc(bean)
2017-10-24 16:05:46 +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
29d4a0330a
improve processors ( #743 )
2017-09-30 09:26:13 +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
c9690500fa
add buffer Iterate support ( #729 )
2017-09-19 20:59:41 +08:00
Lunny Xiao
57c2ebffcb
add test for unscoped delete ( #728 )
2017-09-19 19:24:41 +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
c29485f954
fix bugs on Get ( #718 )
2017-09-10 20:58:18 +08:00
Lunny Xiao
4e4538d99a
fix default go test ( #717 )
2017-09-10 14:29:02 +08:00
Lunny Xiao
e373ddb271
add time test ( #716 )
2017-09-10 12:24:58 +08:00
Lunny Xiao
0f250847e5
add more tests for created int64 ( #715 )
2017-09-10 11:55:24 +08:00
Lunny Xiao
00da75294f
add more test for time default value ( #714 )
2017-09-10 10:51:47 +08:00
Lunny Xiao
aab77ab84c
refactor for value2String ( #713 )
2017-09-09 19:21:05 +08:00
Lunny Xiao
d9eb2f5f36
Fix find bit ( #712 )
...
* fix find bit
* fix error on mysql
2017-09-09 18:56:59 +08:00
Lunny Xiao
8439b76875
fix querystring bit type ( #711 )
...
* fix querystring bit type
* fix bit type on postgres
2017-09-09 17:10:15 +08:00
Lunny Xiao
3dad119dd6
fix bug on cache specify table name ( #710 )
2017-09-09 13:48:14 +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
763e1b21e6
Add query interface ( #695 )
...
* add query interface
* fix tests of query interface
2017-08-27 22:09:31 +08:00
Yuki Takemoto
d2ffc61745
Fix broken link in README.md ( #688 )
2017-08-27 21:58:05 +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
a10b5aba4b
reduce sessions on Sync ( #685 )
2017-08-20 17:05:42 +08:00
Lunny Xiao
4e7d9706bd
add new case stduygolang
2017-08-13 21:19:20 +08:00
Lunny Xiao
fce6d4a34c
add more error check on Get ( #680 )
2017-08-07 16:51:14 +08:00
Lunny Xiao
f43b29056d
fix bug on new engine ( #679 )
2017-08-07 11:33:52 +08:00
Lunny Xiao
0fdfa8d8de
fix bug on update ( #676 )
2017-08-05 10:46:29 +08:00
lucapette
10faec1e58
Fix typo ( #672 )
2017-08-02 10:39:46 +08:00
Lunny Xiao
c2e915ffc1
fix typo
2017-07-31 20:26:13 +08:00
Lunny Xiao
e963288b0b
add Decr test ( #666 )
2017-07-27 17:57:38 +08:00
Lunny Xiao
4524e40dda
add NotIn and more tests for tag ( #665 )
2017-07-27 17:48:19 +08:00
Lunny Xiao
60c6346a77
add more tests for rows ( #664 )
2017-07-27 14:38:39 +08:00
Lunny Xiao
8849fd919e
refactor for sum methods ( #663 )
2017-07-27 14:13:26 +08:00
Lunny Xiao
f1aebd5729
hide all undocument variables on session ( #660 )
2017-07-27 13:32:35 +08:00
Lunny Xiao
7c2d924794
tests for close and add IsClosed() method ( #659 )
2017-07-26 22:25:23 +08:00
Lunny Xiao
a5a917d477
add mymysql tests ( #656 )
2017-07-25 17:51:20 +08:00
Lunny Xiao
463b4d8da7
add more tests for Delete ( #655 )
2017-07-25 17:09:10 +08:00
Lunny Xiao
fbf37fc795
improve count usage ( #654 )
2017-07-25 16:50:20 +08:00
Lunny Xiao
dbc493df5e
multiple Cols support ( #653 )
2017-07-24 22:09:47 +08:00
Lunny Xiao
8cfde0eb4b
fix Conds bug on Find and add test for FindAndCount ( #652 )
2017-07-24 21:26:14 +08:00
Lunny Xiao
1aa1846afb
Revert "support reuse session to transaction ( #650 )" ( #651 )
...
This reverts commit c412be2365
.
2017-07-23 09:52:08 +08:00
Lunny Xiao
c412be2365
support reuse session to transaction ( #650 )
2017-07-23 09:15:44 +08:00
Lunny Xiao
305eb27bcf
improve update error when no conent to be updated ( #648 )
2017-07-21 16:42:23 +08:00