Commit Graph

220 Commits

Author SHA1 Message Date
Lunny Xiao c9690500fa add buffer Iterate support (#729) 2017-09-19 20:59:41 +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 0fdfa8d8de fix bug on update (#676) 2017-08-05 10:46:29 +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 2af18acf72 add CondDeleted method (#620) 2017-06-15 20:09:46 +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 8729bffe74 fix distinct & top conflict on mssql (#596) 2017-05-31 09:01:50 +08:00
Lunny Xiao 6b6721cccc
fix bug on sum 2017-04-17 15:52:52 +08:00
Lunny Xiao 15f11df2af
fix #570 2017-04-14 13:55:55 +08:00
Lunny Xiao a0b6b62ba0
fix #570 2017-04-14 10:49:02 +08:00
Lunny Xiao 7e70eb8222
refactor automaptype 2017-04-02 18:02:47 +08:00
Lunny Xiao 5ebae720bd
add Scan features to Get method 2017-04-01 10:09:00 +08:00
Lunny Xiao 5789833408
first part to resolve #504 2017-03-27 15:45:15 +08:00
Lunny Xiao 91ea7427fe
add cond test and fix missing quote on sum 2017-03-26 20:37:04 +08:00
ZACH 24fae7b3b1 auto judge exist or not quote,then add or ignore (#548)
* fix IN and NotIN SQL not add quote

* auto judge exist or not quote,then add or ignore

* auto judge exist or not quote,then add or ignore
2017-03-23 15:22:06 +08:00
ZACH 70bc6741cf fix IN and NotIN SQL not add quote (#547) 2017-03-23 14:23:52 +08:00
Lunny Xiao 0d9762712b
fix distinct & count bug 2017-03-11 21:24:37 +08:00
Lunny Xiao e0276e0f48
remove unused method 2017-03-01 16:55:53 +08:00
Lunny Xiao 382b85d765
fix #516, #536 2017-02-24 12:45:33 +08:00
Lunny Xiao 664a52a6d7
some gofmt & golint fixed 2017-01-09 09:52:23 +08:00
Lunny Xiao 44b70cccf4
add Find ints support & split session into multiple files 2017-01-03 13:31:47 +08:00
Lunny Xiao c60f2467a9
some golints fixed 2016-12-11 12:45:37 +08:00
Lunny Xiao dc3618b2f7
resolved #481 2016-12-10 10:04:48 +08:00
Lunny Xiao 7222d6d7b3 some fixed for mssql support 2016-12-01 14:48:40 +08:00
Lunny Xiao 311abf25ab resolved #498 2016-11-23 21:27:15 +08:00
Sergey f31f552026 Getting flag for the column via helper method (#492) 2016-11-12 11:30:16 +08:00
Sergey Kurt eb247210c0 Fix golint ' receiver name ... should be ...' warnings 2016-11-09 17:43:27 +03:00
Sergey Kurt 9a143fe45f Fix golint 'comment on exported (method|type) ...' warnings 2016-11-08 18:31:41 +03:00
Sergey Kurt 326f075fd7 Fixed generation in case of skipping last column 2016-11-08 12:32:08 +03:00
Sergey Kurt a618e46460 Columns string generation via bytes.Buffer 2016-11-07 14:47:42 +03:00
gotokatsuya c17ed51823 Fix typo at NotIn comment 2016-10-17 17:23:28 +09:00
Lunny Xiao 291b8fedc3 bug fixed for mssql 2016-10-10 15:07:12 +08:00
Lunny Xiao 26f36a2c8e distinc count 2016-09-29 14:13:15 +08:00
Lunny Xiao 1f455336b2 bug fixed for Count 2016-09-29 14:10:03 +08:00
Lunny Xiao 7b5ac89633 add *builder.Builder as pointer to .SQL 2016-09-23 10:08:28 +08:00
Lunny Xiao c9b09da6e1 rename 2016-09-19 11:13:40 +08:00
Lunny Xiao 01c5ff6337 added condition query builder support via github.com/go-xorm/builder 2016-09-17 20:04:52 +08:00
Lunny Xiao 37e2a03a61 resolved #445: sum returned error when no condition matched 2016-09-01 10:15:12 +08:00
Lunny Xiao db48d70fd0 bug fixed for table name detect on insert a slice 2016-08-22 12:56:40 +08:00
Lunny Xiao 01a03a3092 resolved #431 2016-07-28 23:26:14 +08:00
Lunny Xiao 5612916fea bug fixed and performance improved for table name 2016-07-09 08:15:53 +08:00
Lunny Xiao 86701ad07e added Sum, Sums, SumsInt methods 2016-07-07 22:34:43 +08:00
Victor Gaydov a75b13f07d Move statement methods to statement.go 2016-06-30 15:43:47 +08:00
Lunny Xiao 56d649f413 bug fixed for empty struct when update 2016-04-27 11:31:02 +08:00
Lunny Xiao 5c116a34d6 bug fixed #379 2016-04-22 21:43:22 +08:00
Victor Gaydov ce28ee9f19 Accumulate args when using Join() multiple times 2016-04-19 01:21:08 +03:00
Lunny Xiao 0f03658955 some comments, refactors improvements 2016-04-07 08:54:02 +08:00