Commit Graph

1203 Commits

Author SHA1 Message Date
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
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