Commit Graph

441 Commits

Author SHA1 Message Date
John Guo
4e41d8aff8 improve context and nested transaction feature for package gdb 2021-05-21 13:25:53 +08:00
John Guo
7d3233c7ad add context for custom validation rule function;add function WhereNot for gdb.Model 2021-05-19 22:33:50 +08:00
John Guo
3e2662582c improve nested transaction feature for package gdb 2021-05-19 21:17:21 +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
7003c284d0 replace json.Unmarshal with json.UnmarshalUseNumber for packages 2021-05-15 22:38:07 +08:00
John Guo
d21b9d58e1 improve with feature by supporting attributes struct which also have 'with' tag 2021-05-12 21:34:15 +08:00
John Guo
1eab1cb367 add more unit testing cases,remove function Filter usage in unit testing cases for package gdb 2021-05-11 20:14:06 +08:00
John Guo
2e38416e12 improve struct embedded association case of with feature for package gdb 2021-05-11 20:00:50 +08:00
John Guo
742653ce75 improve Model function for struct parameter that can retrieve table name tag from 2021-05-02 23:28:24 +08:00
John Guo
a8c3d07d9f improve with feature for package gdb 2021-05-02 22:35:47 +08:00
John Guo
4b15ab5e99 improve OrderRandom function for package gdb 2021-05-02 16:42:34 +08:00
John Guo
cdc97e9b2b improve logging for transaction feature for package gdb 2021-05-02 15:58:28 +08:00
John Guo
bd84b97614 add more Where*/Min/Max/Avg/Sum/CountColumn/Increment/Decrement/OrderAsc/OrderDesc/OrderRandom functions and associated unit testing cases for package gdb 2021-05-02 12:17:06 +08:00
John Guo
d7eb1cca07 add nested transaction feature for package gdb 2021-05-02 09:35:54 +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
78027d2ec6 deprecated comments update 2021-03-30 13:43:08 +08:00
John Guo
bb6883213f fix issue #1202 2021-03-24 22:04:04 +08:00
John Guo
54395b39a6 fix issue #1202 2021-03-24 21:19:23 +08:00
John Guo
c423ad4830 fix issue in gfile.MainPkgPath;improve fields filter for package gdb 2021-03-23 14:21:54 +08:00
jianchenma
6a24b595f0 upgrade otel from 0.16.0 to 0.18.0 2021-03-18 10:39:23 +08:00
John Guo
7702c5bfde add internal logging for package gdb/gredis 2021-03-11 11:39:49 +08:00
John Guo
ae0cc5a4b6 add more unit testing case for ScanList feature 2021-03-04 20:45:05 +08:00
John Guo
ba74e0beb2 improve ScanList of the same replation names for package gdb 2021-03-04 00:07:06 +08:00
John Guo
1c7f034135 Merge branch 'master' of https://github.com/gogf/gf 2021-03-02 23:32:50 +08:00
John Guo
4c78ce6e3f fix issue #1187 2021-03-02 23:27:50 +08:00
turc
0e6cddb547 去除cancelFunc避免退出之前关闭mysqlConn导致数据获取不完整 2021-03-01 01:43:53 +08:00
John Guo
d2bd37962e add unit testing case of UnmarshalValue for struct converting of querying result; improve package gdb 2021-02-27 23:58:36 +08:00
John Guo
5adde275fc add switch variable for internal type tracing components 2021-02-14 22:00:56 +08:00
John Guo
a3fa10d820 great! completed 'with' feature for package gdb 2021-02-09 18:00:43 +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
jflyfox
39fb842e9b Merge branch 'master' into feature/ormwith 2021-02-07 15:34:50 +08:00
jflyfox
397e11e124 improve package gdb for association feature 2021-02-07 14:39:32 +08:00
jflyfox
f4314c318e up 2021-02-07 10:40:02 +08:00
jianchenma
8ae0bd148b improve ScanList for package gdb; improve Structs for package gconv 2021-02-05 17:42:05 +08:00
jianchenma
72251b880a improve package gconv for slice converting 2021-02-05 14:44:20 +08:00
John Guo
3b2bae6128 improve soft deletion for package gdb 2021-02-03 23:11:17 +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
e6b4662ec2 improve tracing feature 2021-02-01 17:10:50 +08:00
John Guo
6e4e1abf1e improve tracing by adding constants for attribute and event names 2021-01-27 20:25:57 +08:00
John Guo
2c15aad0e7 add common tracing labels 2021-01-27 19:50:32 +08:00
John Guo
8f6f17c341 add common tracing labels 2021-01-27 19:15:14 +08:00
jianchenma
f2fe084988 improve tracing feature 2021-01-27 13:28:12 +08:00
John Guo
1c93c2b000 merge develop 2021-01-26 21:19:43 +08:00
jianchenma
c72c7dbe9a improve tracing feature 2021-01-26 16:06:20 +08:00
jianchenma
52c17dfce0 add example for tracing feature 2021-01-26 14:33:35 +08:00
jianchenma
0baa52afee improve statement features for package gdb 2021-01-26 11:09:50 +08:00
jianchenma
4c6d9f5eff improve tracing feture for package glog/gdb/gredis 2021-01-26 01:19:55 +08:00
jianchenma
99dd889ff0 add tracing feature for package gredis 2021-01-25 21:59:44 +08:00
jianchenma
b89d8d2740 add tracing feature for package gdb 2021-01-25 21:17:32 +08:00
John Guo
9f2e69a9e6 improve model relation feature for package gdb 2021-01-25 00:04:01 +08:00
jflyfox
2dd2144dcd improve unit testing case for package gdb/gcron 2021-01-24 21:52:34 +08:00
jflyfox
a5f53f158a improve unit testing case for package gcron; improve package gdb; 2021-01-23 01:01:24 +08:00
jflyfox
2c7a257b5a remove parseTime parameter for mysql driver for package gdb 2021-01-22 23:49:17 +08:00
jflyfox
f579c724c6 fix issue in batch number for package gdb 2021-01-22 23:21:29 +08:00
John Guo
0fb32b63e7 add signal handler feature for package gproc; improve package ghttp/g for signal listening feature 2021-01-21 21:14:17 +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
333e5b27aa add more unit testing case for package gdb 2021-01-19 21:08:01 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
jianchenma
c1b52e0f35 add more unit testing cases for package gredis 2021-01-13 20:00:31 +08:00
John Guo
a9aa021914 add json tag for configuration struct for package gdb/gredis/ghttp/glog/gview 2021-01-12 00:42:33 +08:00
John Guo
2ae32ed2c2 add QueryTimeout/ExecTimeout/TranTimeout/PrepareTimeout for package gdb 2021-01-11 20:48:35 +08:00
John Guo
6f5b0c393e add more unit testing case for package gdb 2021-01-11 19:30:22 +08:00
John Guo
bb2dad6d5e improve package gdb of empty value handling for struct convertion 2021-01-09 23:02:16 +08:00
John Guo
92b791eb08 improve Struct convertion for package gdb; improve IsNil function for package internal/empty 2021-01-09 21:05:47 +08:00
jflyfox
7bc42e6eaa improve Fields filtering for package gdb 2021-01-04 19:46:46 +08:00
jflyfox
b6b1bc8813 improve time converting for package gconv 2021-01-04 19:22:55 +08:00
jflyfox
d549311210 fix issue in uint testing case for package gdb 2021-01-04 13:04:57 +08:00
John Guo
4d962c5aa5 improve packge gdb for treat int8 as int64 for pgsql 2021-01-03 23:44:44 +08:00
John Guo
5629020538 fix issue in incorrect datetime string argument for oracle 2021-01-02 21:06:51 +08:00
John Guo
361742c4a0 fix issue in incorrect datetime string argument for oracle 2021-01-02 20:31:25 +08:00
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