Commit Graph

89 Commits

Author SHA1 Message Date
John Guo
5100e0e8b7 add sub-query feature for orm 2021-05-27 22:18:16 +08:00
jflyfox
406b6bf410 infract internal link 2021-05-21 15:30:21 +08:00
John Guo
4e41d8aff8 improve context and nested transaction feature for package gdb 2021-05-21 13:25:53 +08:00
John Guo
c94dee8191 improve nested transaction feature for package gdb 2021-05-19 21:11:51 +08:00
John Guo
ab2ef13d99 improve transaction for package gdb 2021-05-19 20:33:19 +08:00
John Guo
c8c28770fb change Error from struct to interface for package gvalid;error string update for package gdb 2021-05-18 20:51:31 +08:00
John Guo
a8c3d07d9f improve with feature for package gdb 2021-05-02 22:35:47 +08:00
John Guo
cdc97e9b2b improve logging for transaction feature for package gdb 2021-05-02 15:58:28 +08:00
John Guo
49dd17c047 remove maxIdleTime feature due to be compatible with old Golang version <= v1.14 2021-04-04 12:13:51 +08:00
John Guo
a3b94c24de fix issue #854; add maxIdleTime configuration and comments update for package gdb; version updates 2021-04-04 12:01:22 +08:00
John Guo
7702c5bfde add internal logging for package gdb/gredis 2021-03-11 11:39:49 +08:00
John Guo
acf47f3907 orm with feature 2021-02-08 17:57:21 +08:00
John Guo
b4d5335e43 add package gmeta for embedded struct of meta data feature 2021-02-07 21:23:09 +08:00
John Guo
ae559b57de fix dryrun configuration for package gdb 2021-02-03 22:46:59 +08:00
jianchenma
813841bb68 rename GetWithEnv to GetOptWithEnv for packge gcmd 2021-02-02 15:16:09 +08:00
John Guo
1c93c2b000 merge develop 2021-01-26 21:19:43 +08:00
jianchenma
0baa52afee improve statement features for package gdb 2021-01-26 11:09:50 +08:00
jianchenma
b89d8d2740 add tracing feature for package gdb 2021-01-25 21:17:32 +08:00
jflyfox
59285709a6 fix issue in filds filter in join statements for package gdb 2021-01-20 13:09:59 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
jflyfox
662f1ed6b7 add Query/Exec/Prepare back for gdb.Link 2020-12-29 14:01:49 +08:00
John Guo
d25a3909d1 improve context feature for package gdb 2020-12-28 23:03:13 +08:00
John Guo
cb2c9c43a8 rename constant names 2020-12-14 19:34:02 +08:00
jflyfox
7316e6648f change errors to gerror; update copyright in comment 2020-12-09 16:04:29 +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
Jack
5171250a9d improve gutil.Keys,gdb.Model.Fields,internal/structs 2020-12-04 14:22:50 +08:00
John
cabf684ec9 add context feature for package gdb 2020-11-29 23:47:57 +08:00
John
32101189a2 Merge branch 'master' of https://github.com/gogf/gf into develop 2020-11-29 21:46:36 +08:00
sunmoon
09bb0c9397 更新gdb.Update方法 2020-11-28 13:52:17 +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
c273ce576b add default configuration for MaxOpenConnCount for package gdb 2020-11-10 21:19:15 +08:00
John
1edc1f35fb add individual cache for package gdb/gfile 2020-11-07 20:00:35 +08:00
Jack
561a541fa1 add custom CreatedAt/UpdatedAt/DeletedAt filed name configuration for package gdb 2020-10-20 21:01:39 +08:00
John
dd5cd31ef5 add automatic data key to field name mapping feature for package gdb 2020-10-17 18:16:13 +08:00
John
849874a247 improve adapter definition for package gcache 2020-10-09 20:59:49 +08:00
John
619287c273 improve cache feature for package gdb 2020-09-27 00:15:11 +08:00
Jack
a7c269886b improve support for dynamic database configurations in codes 2020-08-31 15:39:27 +08:00
Jack
b396096721 improve dry-run feature by adding global dry-run variable reading from environment or command options 2020-07-30 23:08:27 +08:00
Jack
0a5c6d832f add configration group name for logging content for package gdb 2020-07-30 23:00:20 +08:00
John Guo
d279566114
Merge pull request #769 from fxk2006/master 2020-07-30 22:55:39 +08:00
john
6d406498db improve result data type converting for package gdb 2020-07-28 20:31:50 +08:00
chenghonour
78536de1b5 add database method 2020-07-17 11:28:47 +08:00
john
4e027c1de3 improve argument handling for empty slice for package gdb 2020-07-11 09:53:16 +08:00
John
9b6936a4fb deprecate function DB.Table; improve the configuration node name case-insensitive and ignoring special chars 2020-07-08 20:48:29 +08:00
John
46bdde9265 revert gvar.Var from interface to struct 2020-06-29 13:40:19 +08:00
John
0e884c78f5 fix issue of https://github.com/gogf/gf/issues/765 2020-06-28 23:03:41 +08:00
fangxiaokai
d9422d00ac
修改sql打印debug信息,增加数据库配置的group名称,用于区分sql来源,尤其是多数据库配置的时候 2020-06-28 16:50:13 +08:00
John
4d38b508a3 improve gvar by changig gvar.Var from type struct to interface 2020-06-16 17:38:05 +08:00