Lunny Xiao
17ee4be6c1
fix findandcount bug ( #853 )
2018-02-24 17:08:34 +08:00
Lunny Xiao
a4378c8abd
fix bug on findandcount ( #852 )
2018-02-24 16:12:53 +08:00
Lunny Xiao
cea778734c
fix FindAndCount bug with Limit ( #851 )
2018-02-22 20:24:40 -06:00
Lunny Xiao
2e295feace
Improve schema support on postgres dialect ( #845 )
...
* add schema on postgres dialect
* fix to support no specific schema when postgres
2018-02-08 20:43:17 -06:00
Lunny Xiao
430fbe866a
add FindAndCount method ( #842 )
2018-02-07 07:06:13 -06:00
Lunny Xiao
4293dea67e
add test for find ( #841 )
2018-02-07 06:00:21 -06:00
Lunny Xiao
cd46810bf9
Fix migrate migrationDidRun bug on postgres ( #818 )
...
* fix migrate migrationDidRun bug on postgres
* fix missing error handle
2018-01-29 19:49:01 -06:00
Lunny Xiao
d4149d1eee
fix Exist bug when using on MSSQL resolved #831 ( #832 )
2018-01-22 07:32:35 -06:00
Loli
caab56ac7e
docs(README): fix limit sql ( #830 )
2018-01-22 05:33:52 -06:00
Lunny Xiao
afd1ab91e7
Query add builder support ( #829 )
2018-01-18 10:09:37 -06:00
Lunny Xiao
5185fdfa1b
add default postgres schema so that it can be changed ( #824 )
2018-01-09 03:08:26 -06:00
Lunny Xiao
5275c0de3f
add tests for insert custom struct types ( #816 )
2017-12-27 21:35:52 -06:00
Lunny Xiao
3480244cd2
add test for unique
2017-12-20 16:08:10 +08:00
Lunny Xiao
2bfe0b4d5e
fix Get sql.Nullxx ( #805 )
2017-12-13 23:04:41 +08:00
Lunny Xiao
26d40bc248
add test for Sync2
2017-12-11 13:49:42 +08:00
Lunny Xiao
e0c5a951ff
add tests for SQL with Get variable ( #796 )
2017-12-07 11:47:45 +08:00
Lunny Xiao
1933dd69e2
update READMEs
2017-12-04 22:05:36 +08:00
Lunny Xiao
4a4bac517d
update README
2017-12-04 21:54:38 +08:00
Lunny Xiao
d75e4924db
remove some unnecessary debug log and some refactor ( #791 )
2017-12-04 11:00:39 +08:00
Lunny Xiao
b6ba097a50
improve error string & fix #789 ( #790 )
2017-12-02 14:39:56 +08:00
Lunny Xiao
16930c1be7
update READMEs
2017-12-02 10:47:03 +08:00
Lunny Xiao
3bb2fa9c85
add lost Prepare
2017-11-29 10:03:54 +08:00
Lunny Xiao
a6cc098689
QueryString and QueryInterface supports composite conditions ( #784 )
2017-11-20 16:14:27 +08:00
mzmuer
936cca7c69
mysql add column comment ( #783 )
2017-11-20 15:20:28 +08:00
Daniel Lee
84fd68deb7
Postgres dialect parse password with spaces ( #775 ) ( #779 )
...
Fixes #775 This fixes two problems - the postgres dialect can parse a
connection string in url format that has a password with spaces. If an
error occurs the Parse func returns an error instead of panicking.
2017-11-17 23:41:52 +08:00
Lunny Xiao
4e88774eee
update contributing ( #780 )
2017-11-17 21:17:20 +08:00
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