Commit Graph

316 Commits

Author SHA1 Message Date
John Guo
bdf23ef48f fix issue of error code lost in middleware handling for package ghttp 2020-12-30 12:56:24 +08:00
jflyfox
820befa1a0 improve insert function for package gdb 2020-12-29 20:30:29 +08:00
jflyfox
51d9f7ff12 fix issue in configuration string parsing error when there're special chars(especially '?') in redis password 2020-12-29 16:49:15 +08:00
jflyfox
662f1ed6b7 add Query/Exec/Prepare back for gdb.Link 2020-12-29 14:01:49 +08:00
jflyfox
bfab4a4952 comment updates for package gdb 2020-12-29 13:30:15 +08:00
John Guo
4828ddcdd7 add example/unit testing cases for package gdb 2020-12-29 00:01:27 +08:00
John Guo
d25a3909d1 improve context feature for package gdb 2020-12-28 23:03:13 +08:00
John Guo
c893817e56 Merge branch 'master' of https://github.com/gogf/gf 2020-12-27 00:12:34 +08:00
John Guo
65785db659 improve Model.Data for shallow value copy for value type of map/slice 2020-12-27 00:11:26 +08:00
tiansin
95b09aa5fe feat: 🐛 fix GetWhereConditionOfStruct where AND 2020-12-25 16:03:01 +08:00
John Guo
9b58b66172 fix issue of HAVING statement before ORDER BY 2020-12-14 23:34:23 +08:00
John Guo
cb2c9c43a8 rename constant names 2020-12-14 19:34:02 +08:00
dozysun
71444736ae
fix InsertIgnore didn't work
fix InsertIgnore didn't work
2020-12-10 14:40:58 +08:00
jflyfox
7316e6648f change errors to gerror; update copyright in comment 2020-12-09 16:04:29 +08:00
John Guo
d2ae383b83 improve unit testing case for package gdb 2020-12-09 01:33:02 +08:00
John Guo
8978112433 add gdb.Raw for raw sql instead of prepare argument feature 2020-12-09 01:29:23 +08:00
John Guo
d2b65f0f91 add gcmd.GetWithEnv/genv.GetWithCmd; remove package cmdenv; 2020-12-04 23:44:54 +08:00
jianchenma
57a82ebcc0 improve gconv.Struct 2020-12-04 18:17:11 +08:00
Jack
5171250a9d improve gutil.Keys,gdb.Model.Fields,internal/structs 2020-12-04 14:22:50 +08:00
John
790a651ac1 fix typo 2020-11-29 23:55:32 +08:00
John
6f93bd17f2 add context feature for package gdb 2020-11-29 23:54:38 +08:00
John
3419d66c4b add context feature for package gdb 2020-11-29 23:50:16 +08:00
John
cabf684ec9 add context feature for package gdb 2020-11-29 23:47:57 +08:00
John
2b6e6ce28e improve update counter feature for package gdb 2020-11-29 22:26:16 +08:00
John
32101189a2 Merge branch 'master' of https://github.com/gogf/gf into develop 2020-11-29 21:46:36 +08:00
sunmoon
6cb38cfa92 add update counter method for package gdb. 2020-11-28 14:56:21 +08:00
sunmoon
09bb0c9397 更新gdb.Update方法 2020-11-28 13:52:17 +08:00
John
55429ad589 fix data race issue in unit testing case of package gdb 2020-11-28 00:11:22 +08:00
John
9592fb099f Change time string argument wrapping with TO_DATE function for DriverOracle in package gdb 2020-11-27 23:11:55 +08:00
John
18ec6116ad improve time argument timezone handling for package gdb 2020-11-27 22:51:34 +08:00
Jack
9d0f306684 improve time argument timezone handling for package gdb 2020-11-27 21:03:22 +08:00
Jack
3eba8d690f add TimeMaintainDisabled configuration for automatic time maintaining feature 2020-11-27 13:28:18 +08:00
Jack
c0b59007ce improve configuration for package gdb 2020-11-27 13:24:05 +08:00
John
3485ba2a5d improve package gtime 2020-11-26 22:40:55 +08:00
John
43ecfc7484 Merge branch 'develop' of https://github.com/gogf/gf into develop 2020-11-26 22:12:48 +08:00
John
5ba53e56c9 improve join feature for sub-query for gdb.Model 2020-11-26 22:11:58 +08:00
John Guo
af1d14ace6
Merge pull request #1021 from tiansin/develop
fix: 🐛 fix model chunk page
2020-11-26 21:40:45 +08:00
John
0c0e902b07 if CreatedAt/UpdatedAt/DeletedAt field name configured, just use it, ignore the default field names 2020-11-26 20:17:24 +08:00
John
750b53d7aa improve debug infor for argument of time.Time for package gdb 2020-11-26 19:53:44 +08:00
tiansin
69b5873bf9 fix: 🐛 fix model chunk page 2020-11-26 14:26:32 +08:00
John
fadb7a8f8f fix issue 1002 2020-11-21 13:20:32 +08:00
John
e1bfe90833 improve package gdb for structire retrieving in transaction operations 2020-11-21 12:24:32 +08:00
John
042dc0b33f improve package gdb for structire retrieving in transaction operations 2020-11-21 11:42:50 +08:00
John
e20183e7a1 improve gutil.Keys/Values for embedded struct 2020-11-20 00:53:12 +08:00
John
bfcf133c91 improve sqlite.Open 2020-11-19 20:37:27 +08:00
Jack
24a377d3a8 fix issue in custom mapping for gconv.Struct 2020-11-19 14:52:19 +08:00
John
17a11187b0 fix issue in gdb.Model.Fields 2020-11-18 00:32:09 +08:00
John
7caf7976cf add gdb.Model.Args 2020-11-18 00:16:34 +08:00
John
c273ce576b add default configuration for MaxOpenConnCount for package gdb 2020-11-10 21:19:15 +08:00
Jack
f8d57096a8 add slice parameter support for gdb.Model.Where 2020-11-10 13:43:12 +08:00