Commit Graph

185 Commits

Author SHA1 Message Date
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
Lunny Xiao 2b34c682f1 added custom int and string type for primary key support 2016-04-06 22:19:38 +08:00
Lunny Xiao b336fa1880 ILogger interface changed and some golint issues resolved, #367 resolved 2016-03-31 18:19:00 +08:00
Lunny Xiao 7d2967c786 join parameters support & many comments 2016-03-29 09:17:06 +08:00
Lunny Xiao 0d2245dad2 the second Where will be treated as And 2016-03-23 16:22:08 +08:00
Lunny Xiao bfb5784ec5 bug fxied for Sync2 when share the same struct between different tables 2016-03-10 09:39:25 +08:00
Lunny Xiao 5df1bc92df resolved gogits/gogs#2743 2016-03-06 12:05:20 +08:00
Lunny Xiao d92dc9d373 bug resolved for #364 & #365 2016-03-04 17:38:05 +08:00
Lunny Xiao 4fec1167de add schema support for postgres 2016-03-03 11:03:26 +08:00
Lunny Xiao 862d4e0586 bug fixed for soft delete and resolved #359 and disable warning when found non-sync tables 2016-02-28 13:44:18 +08:00
evalphobia 59b780b516 Ignore empty args statement.In() 2016-02-03 20:13:03 +09:00
Lunny Xiao 791d17fed6 some improvments 2016-01-28 16:54:15 +08:00
Lunny Xiao 025e2a20e5 bug fixed for deleted & alias conflict 2016-01-12 17:19:47 +08:00
Lunny Xiao fad61020e8 resolved #250, #317 2016-01-02 23:55:01 +08:00
Lunny Xiao aac04b323f bug fixed for update empty slice, map 2015-12-02 14:54:58 +08:00
Lunny Xiao 8bf440560e bug fixed for update which includes json struct fields 2015-10-29 13:30:22 +08:00
Lunny Xiao a0e63df407 bug fixed 2015-10-27 15:41:13 +08:00
Lunny Xiao 81d7f834b1 small optimizations for statement string generation 2015-10-27 14:45:48 +08:00
Lunny Xiao 1d3b0d699e bug fixed: resolved #301 2015-10-26 16:34:04 +08:00
Lunny Xiao 300379e016 bug fixed #297 2015-10-06 22:56:28 +08:00
evalphobia 65f413ecf3 refactored genSelectSql 2015-08-30 20:23:46 +09:00
evalphobia 693501fd60 Fixed FOR UPDATE for each dialects #290 2015-08-30 20:07:18 +09:00
evalphobia e89f74daa0 Added feature for SELECT ... FOR UPDATE 2015-08-28 16:54:19 +09:00
Lunny Xiao b3ec16b09c bug fixed #280 2015-08-12 22:02:27 +08:00
Lunny Xiao f9e450f348 add AfterSet processor support & resolved #276 2015-08-06 14:24:17 +08:00
haolei 88a0888d6d 修正支持sql.NullString...时AllCols()时没有更新空字段。 2015-07-26 00:01:06 +08:00
haolei 3189b41ec3 修正支持sql.NullString字段时,使用Iterater方法时崩溃 2015-07-20 14:13:13 +08:00
haolei 916367d81e 增加支持sql.NullString...Iterate方法。 2015-07-20 11:23:29 +08:00
evalphobia 1ebd50ead5 Added feature to update with null for non pointer value 2015-06-10 23:04:14 +09:00
Lunny Xiao 8506d65874 bug fixed for custom time 2015-05-26 14:06:54 +08:00
Lunny Xiao ff6f3b7a8d bug fixed for auto condition on join 2015-05-25 17:49:28 +08:00
Lunny Xiao 439cc27466 added Select method for special select column express 2015-05-24 21:32:27 +08:00
Lunny Xiao a7e7288163 bug fixed 2015-05-18 17:04:25 +08:00
Lunny Xiao 1992491553 license 2015-04-28 16:25:04 +08:00
Lunny Xiao ba131dd9a0 resolved #199 2015-03-12 22:26:45 +08:00
Lunny Xiao 53da67f171 Merge branch 'master' into oci8_support 2015-03-12 17:47:11 +08:00