Commit Graph

466 Commits

Author SHA1 Message Date
John Guo
77a0f59cd3 add automatic adding OmitNil option for data and where filtering if given struct name is defined like 'xxxForDao' 2021-11-02 09:55:37 +08:00
John Guo
d817047c98 remove Logger interface from package gdb 2021-10-30 16:12:51 +08:00
John Guo
17e6063c5c add neccessary parameter context for package gcron/gtimer 2021-10-30 15:36:10 +08:00
John Guo
1188793f8f automatically add column prefix for where conditions 2021-10-29 16:57:56 +08:00
John Guo
09b8df1818 add WherePrefix/WhereOrPrefix for gdb.Model 2021-10-29 15:49:08 +08:00
John Guo
6192d32501 add LeftJoinOnField/InnerJoinOnField/InnerJoinOnField/FieldsPrefix/FieldsExPrefix for package gdb 2021-10-29 15:12:31 +08:00
John Guo
a6a8d787e4 merge IgnoreEmptySliceWhere feature into OmitEmptyWhere 2021-10-29 10:50:14 +08:00
John Guo
8ef4f68215 add IgnoreEmptySliceWhere feature for package gdb; add OriginValueAndKind/OriginTypeAndKind functions for package internal/utils 2021-10-28 23:18:23 +08:00
John Guo
493f5dcff2 remove unused functions for package gdb 2021-10-27 15:41:15 +08:00
John Guo
f6c2206b88 improve logging content field name from selected/updated to rows 2021-10-25 19:50:52 +08:00
John Guo
862ef57e0f fix unit testing cases 2021-10-21 19:25:39 +08:00
John Guo
fa5499373a replace char <xxx> to ;add GetWithEnv/GetWithCmd fuctions for package gcfg 2021-10-21 18:22:47 +08:00
John Guo
1bc0635f8b version 2 2021-10-11 21:41:56 +08:00
John Guo
337c2d0953 filter issue in internal/structs 2021-10-06 11:10:35 +08:00
John Guo
dd4e08e88d refract package gdb; add selected & affected count to logging 2021-09-29 20:39:02 +08:00
John Guo
b7b4067973 fix issue in unit testing case of package internal/structs 2021-09-29 19:18:27 +08:00
John Guo
02478371f2 fix issue missing org tag value retrieving when using struct in Fields for package gdb 2021-09-28 22:02:08 +08:00
John Guo
0a828aaed3 Merge branch 'v2_release' into develop 2021-09-27 22:52:28 +08:00
John Guo
993bf897cf remove deprecated functions; refract package gjson 2021-09-27 22:47:39 +08:00
John Guo
df09d8c604 refract package ghttp/gredis/glog 2021-09-27 21:27:24 +08:00
John Guo
a2c5c577db fix issue #1412 2021-09-23 19:29:20 +08:00
John Guo
2e49c33cc7 remove depecated functions from package ghttp 2021-09-19 23:13:53 +08:00
jianchenma
01a3dd1eb0 add function gerror.HasStack; rename all api* interfaces to i* 2021-09-17 19:26:56 +08:00
John Guo
28f70d52ee add context parameter for all functions of package gcache 2021-09-17 10:48:08 +08:00
John Guo
1455e30350 change returned value by Get* and Update/Remove functions from type interface{} to *gvar.Var for package gcache 2021-09-16 22:13:00 +08:00
John Guo
101db282c2 fix issue #1401 2021-09-15 22:28:26 +08:00
John Guo
68e760d13a fix issue @1380 2021-09-15 21:17:45 +08:00
John Guo
64a5cedcdf fix recover logic 2021-09-14 20:47:06 +08:00
John Guo
727f58a24b remove usage of gconv.Unsafe* functions internally to avoid unexpected errors 2021-09-14 19:30:20 +08:00
John Guo
006fb79967 improve package gjson; replace fmt.Errorf to gerror; improve examples for package gdb 2021-09-13 16:43:09 +08:00
John Guo
73d2b7ed06 fix issue #1387 2021-08-30 22:26:02 +08:00
John Guo
549adf6487 improve unit testing case for package gdb 2021-08-27 20:35:35 +08:00
John Guo
b5502c5580 revert and use 2021-08-27 20:26:07 +08:00
John Guo
fa7a3e987d improve With feature for package gdb 2021-08-27 20:16:29 +08:00
John Guo
f9eaa8f930 fix issue of nested transaction missing in function operations for package gdb 2021-08-25 22:31:59 +08:00
John Guo
6be582355c improve DB.Close for package gdb 2021-08-25 10:58:29 +08:00
John Guo
29d50994ae add function Close for DB for package gdb 2021-08-24 22:59:25 +08:00
John Guo
abc8e62d58 add package gcode and improve error implements for package gerror 2021-08-24 21:18:59 +08:00
John Guo
feefcc98ef improve condition parameter of struct by sequence for package gdb 2021-08-19 14:11:28 +08:00
John Guo
8f4ce91361 improve condition parameter of struct by sequence for package gdb 2021-08-19 14:09:31 +08:00
John Guo
f03f56ba4e improve gconv.Struct for map attribute converting 2021-08-19 11:28:25 +08:00
John Guo
903f29a824 add OmitNil feature for package gdb 2021-08-13 11:28:47 +08:00
John Guo
7b9888c004 add FieldCount/FieldSum/FieldMax/FieldMin/FieldAvg functions for gdb.Model 2021-08-12 19:42:44 +08:00
John Guo
91dd9e2bf9 auto update value of time field if given time value is zero for package gdb 2021-08-10 20:30:32 +08:00
John Guo
232751e3db improve context key and caller path&func outputs for logger of package glog 2021-08-10 15:46:40 +08:00
John Guo
1c600d5b20 revert ORM logger from interface to glog.Logger 2021-08-10 15:36:15 +08:00
John Guo
dc407bf293 merge develop 2021-08-07 12:04:31 +08:00
John Guo
9cd944fd77 improve time maintaining feature for package gdb 2021-08-07 11:01:15 +08:00
John Guo
65fff6feae version updates 2021-08-04 13:29:06 +08:00
John Guo
685bf56a30 fix issue #1325 2021-08-03 22:21:20 +08:00