Commit Graph

391 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