fanwei
|
658ca8c0fd
|
Eg
|
2022-01-17 17:14:40 +08:00 |
|
qinyuguang
|
ee1585fb24
|
gdb Ping with context
|
2022-01-17 15:58:31 +08:00 |
|
John Guo
|
d32acabcef
|
fix issue #1570
|
2022-01-15 21:38:15 +08:00 |
|
John Guo
|
b0b1b61280
|
Merge pull request #1555 from larryclean/master
修改gdb cache的key为gcache:md5(sql)方式
|
2022-01-13 21:29:55 +08:00 |
|
qinyuguang
|
eaeb8e03ab
|
gdb pgsql skip dropped fields
|
2022-01-13 14:20:01 +08:00 |
|
John Guo
|
e5613e8690
|
improve function New for creating db by specified configuration node
|
2022-01-12 21:57:46 +08:00 |
|
larry
|
9abaf744f2
|
edit imports sort
|
2022-01-10 10:02:03 +08:00 |
|
fanwei
|
d30862373e
|
修正测试数据库配置
|
2022-01-07 22:25:00 +08:00 |
|
fanwei
|
ee4ca43bd5
|
Safe()
|
2022-01-07 22:21:18 +08:00 |
|
刘杨
|
3bed3e4f5b
|
修改gdb cache的key为gcache:md5(sql)方式
|
2022-01-07 22:14:47 +08:00 |
|
fanwei
|
0dc1adb672
|
orderBy raw()
|
2022-01-07 21:06:49 +08:00 |
|
Yu Zhan
|
47cefbf6d7
|
允许多次调用Order
|
2022-01-05 11:53:50 +08:00 |
|
John Guo
|
99455e328b
|
Merge pull request #1535 from starccck/master
support manipulate pg.Array type data
|
2022-01-04 21:24:44 +08:00 |
|
John Guo
|
0a7e4be4ef
|
improve DoCommit for package gdb
|
2022-01-01 15:47:17 +08:00 |
|
starccck
|
f04715bccb
|
support manipulate pg.Array type data
|
2021-12-29 00:13:22 +08:00 |
|
John Guo
|
3932e0b15f
|
add OmitEmpty support for WhereIn
|
2021-12-28 17:15:01 +08:00 |
|
John Guo
|
b00de2c617
|
add gdb.DB.DoFilter; improve function gdb.DB.DoCommit for package gdb
|
2021-12-27 20:51:26 +08:00 |
|
John Guo
|
b79e4a3ab7
|
add interface function ConvertDataForRecord for gdb.DB
|
2021-12-23 22:00:28 +08:00 |
|
John Guo
|
b9bb1ecd46
|
Merge branch 'master' of https://github.com/gogf/gf into feature/v2-gerror
|
2021-12-22 22:29:02 +08:00 |
|
John Guo
|
2a8e2f9f2c
|
Merge pull request #1524 from houseme/master
feat:improve tracing
|
2021-12-22 22:26:15 +08:00 |
|
John Guo
|
cafd9098d7
|
change errors wrapped by gerror.Wrap with error stack info for all packages
|
2021-12-22 22:22:42 +08:00 |
|
fanwei
|
b39b2374c4
|
Added Order() method support for gdb.
|
2021-12-22 20:51:03 +08:00 |
|
John Guo
|
44089d70d4
|
Merge branch 'master' of https://github.com/gogf/gf into feature/v2-gerror
|
2021-12-22 18:28:04 +08:00 |
|
John Guo
|
aabc1f8322
|
fix issue in time maintaining feature for package gdb
|
2021-12-22 17:42:26 +08:00 |
|
John Guo
|
ce93b625d4
|
change errors wrapped by gerror.Wrap with error stack info for all packages
|
2021-12-21 22:59:14 +08:00 |
|
houseme
|
25bdf10cc8
|
feat:improve tracing
|
2021-12-19 00:44:31 +08:00 |
|
John Guo
|
0b05c9e3e7
|
improve function gdb.Core.HasTable
|
2021-12-17 12:26:30 +08:00 |
|
John Guo
|
b9d6ac26d1
|
rename cache function from func() (interface{}, error) to func(ctx context.Context) (value interface{}, err error) for package gcache; add cache for function Tables of gdb.Core; improve Where condition with prefix handling for package gdb
|
2021-12-17 11:46:05 +08:00 |
|
John Guo
|
b6d60fc209
|
downgrade otel version to v1.0.0
|
2021-12-17 00:55:48 +08:00 |
|
John Guo
|
aee52fd56e
|
enable OpenTelemetry in default for some core components
|
2021-12-16 23:09:37 +08:00 |
|
John Guo
|
19c9f0a488
|
add DTO feature for package gdb
|
2021-12-15 00:01:59 +08:00 |
|
John Guo
|
0e3a8576b4
|
improve debugging feature
|
2021-12-04 23:07:54 +08:00 |
|
John Guo
|
b6df7b94d0
|
change MaxConnCount to 0 for ulimited connections for package gdb
|
2021-12-04 13:57:38 +08:00 |
|
houseme
|
5ed5adc6df
|
feat:add trace db.statement、host.name
|
2021-12-02 18:54:56 +08:00 |
|
John Guo
|
5073413ffc
|
improve TableFields feature for package gdb
|
2021-11-27 12:59:41 +08:00 |
|
John Guo
|
35cf228d83
|
add AdapterRedis for package gcache
|
2021-11-27 01:10:00 +08:00 |
|
fanwei
|
656fb99b6a
|
add test case
|
2021-11-26 11:48:15 +08:00 |
|
fanwei
|
1725d247ae
|
order by null is not escaped
|
2021-11-26 10:38:50 +08:00 |
|
John Guo
|
7b22355abb
|
expose package internal/structs as os/gstructs; add package gtag for custom tag storage feature
|
2021-11-24 16:17:50 +08:00 |
|
John Guo
|
0622b517c5
|
command object feature for package gcmd
|
2021-11-23 20:26:55 +08:00 |
|
John Guo
|
1978a262a8
|
improve ScanList feature for pakcga egdb
|
2021-11-23 15:28:40 +08:00 |
|
John Guo
|
732664a1ff
|
files renaming for package gdb
|
2021-11-17 22:01:17 +08:00 |
|
John Guo
|
f2ef7454c2
|
improve prefix feature for package gdb
|
2021-11-17 21:29:46 +08:00 |
|
houseme
|
bb4f72d1ec
|
improve code Introduce according to grouping
|
2021-11-16 19:43:02 +08:00 |
|
houseme
|
e86ee052cb
|
improve code import
|
2021-11-16 19:29:02 +08:00 |
|
houseme
|
c6efb5ee3b
|
[feature] improve code range map
|
2021-11-16 17:21:13 +08:00 |
|
John Guo
|
634cacd435
|
merge develop
|
2021-11-15 19:15:58 +08:00 |
|
John Guo
|
da7ddd43f5
|
improve field filtering for list type parameters of function Data for ForDao models
|
2021-11-15 17:39:23 +08:00 |
|
John Guo
|
98e5fb1542
|
improve field filtering for list type parameters of function Data for ForDao models
|
2021-11-15 17:27:35 +08:00 |
|
John Guo
|
f99b037c60
|
improve field filtering for list type parameters of function Data for ForDao models
|
2021-11-15 17:06:04 +08:00 |
|
houseme
|
be03b3cdda
|
Improved import, by group improt.
|
2021-11-13 23:23:55 +08:00 |
|
John Guo
|
e0a0fcbde2
|
improve cache feature for package gdb
|
2021-11-09 16:06:31 +08:00 |
|
John Guo
|
fd9246358a
|
Merge branch 'feature/gconv.ScanList' into develop
|
2021-11-07 00:16:26 +08:00 |
|
John Guo
|
42c4b32720
|
add gconv.ScanList
|
2021-11-07 00:16:14 +08:00 |
|
John Guo
|
4f2a22dd0e
|
Merge branch 'master' of https://github.com/gogf/gf
|
2021-11-05 01:15:30 +08:00 |
|
John Guo
|
485706a676
|
improve ScanList feature for package gdb
|
2021-11-05 01:07:06 +08:00 |
|
John Guo
|
9a757acc88
|
Merge pull request #1438 from danvinhe/bugfix/i1435
Bugfix/i1435
|
2021-11-04 20:38:58 +08:00 |
|
John Guo
|
c3a75f5568
|
logging content update for package gdb
|
2021-11-03 23:13:11 +08:00 |
|
danvinhe
|
35a786d765
|
Update gdb_func.go
|
2021-11-03 15:05:25 +08:00 |
|
danvinhe
|
12fe41e34d
|
Merge branch 'master' into bugfix/i1435
|
2021-11-03 15:04:22 +08:00 |
|
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 |
|
lindan.he
|
f901f19714
|
Parameters of type gdb.Raw do not require special treatment
|
2021-10-15 17:45:30 +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
|
750972e7c6
|
fix unit testing cases
|
2021-09-28 19:04:36 +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
|
5904a1e7c0
|
refract package gredis
|
2021-09-26 23:22:32 +08:00 |
|
John Guo
|
6eee72b336
|
refract package gredis
|
2021-09-23 21:23:22 +08:00 |
|
John Guo
|
a2c5c577db
|
fix issue #1412
|
2021-09-23 19:29:20 +08:00 |
|
John Guo
|
6fa0ad5793
|
gredis refract
|
2021-09-23 19:12:02 +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
|
55a9c0738b
|
improve package gcache, add GetVar*/RemoveVar/UpdateVar functions for package gcache
|
2021-09-16 20:57:59 +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 |
|
John Guo
|
a4497ed547
|
improve gdb.Modle for where holder
|
2021-08-03 21:32:05 +08:00 |
|
John Guo
|
28cb0bef25
|
change logger of DB from glog.Logger to interface Logger
|
2021-08-03 20:34:26 +08:00 |
|
John Guo
|
a2bb8ad2f2
|
add more unit testing case for package gdb
|
2021-08-02 21:13:00 +08:00 |
|
John Guo
|
fddc21670a
|
add condition and order-by feature for with tag feature for package gdb
|
2021-08-02 00:38:56 +08:00 |
|
John Guo
|
fa64df6f91
|
improve package gdb/glog
|
2021-08-01 10:33:33 +08:00 |
|
John Guo
|
0acd118c03
|
add ModelHandler feature for package gdb
|
2021-08-01 10:17:03 +08:00 |
|
John Guo
|
2b5244a54b
|
unit testing cases update for package gredis/glog
|
2021-08-01 09:45:46 +08:00 |
|
John Guo
|
5899f676f7
|
Merge pull request #1347 from stardemo/develop
add basic action scripts
|
2021-08-01 09:17:31 +08:00 |
|
jflyfox
|
ef77a54c7e
|
improve OmitEmpty feature for package gdb; mark package gmvc deprecated
|
2021-07-30 14:58:23 +08:00 |
|
John Guo
|
afb0af4afd
|
add example for package gvalid
|
2021-07-30 11:29:48 +08:00 |
|
John Guo
|
ebe90dcaa8
|
fix issue in Cache Penetration for cache feature of package gdb
|
2021-07-21 19:24:16 +08:00 |
|
starliu
|
6240c3d90b
|
disabled error test case to test action
|
2021-07-20 23:35:07 +08:00 |
|
John Guo
|
0ddacdd7e2
|
add error code for components
|
2021-07-20 23:02:02 +08:00 |
|
John Guo
|
88009ee278
|
fix issue #1341
|
2021-07-15 22:19:00 +08:00 |
|
jflyfox
|
141ba2e951
|
update pgsql pri error #1340
|
2021-07-15 14:53:21 +08:00 |
|
John Guo
|
fbfc23211c
|
fix issue in Counter of package gdb
|
2021-07-13 19:37:16 +08:00 |
|
John Guo
|
046749566d
|
update sql of unit testing case for package gdb
|
2021-07-08 23:06:58 +08:00 |
|
John Guo
|
3b1b8a8306
|
Merge branch 'master' of https://github.com/gogf/gf
|
2021-07-08 22:44:29 +08:00 |
|
John Guo
|
5e92747737
|
fix issue #1291
|
2021-07-08 22:44:16 +08:00 |
|
John Guo
|
82ad7e2acc
|
add more unit testing case for package gdb
|
2021-07-08 22:08:45 +08:00 |
|
John Guo
|
2d319d0856
|
update sql of unit testing cases for package gdb
|
2021-07-08 21:46:21 +08:00 |
|
John Guo
|
c060904f3f
|
Merge pull request #1328 from lgyaxx/patch-1
Update gdb_model_fields.go
|
2021-07-08 21:18:42 +08:00 |
|
John Guo
|
a63c4b6441
|
add more unit testing case for package gdb
|
2021-07-08 21:06:49 +08:00 |
|
John Guo
|
9df860a202
|
fix issue #1292
|
2021-07-08 21:02:36 +08:00 |
|
Eagle
|
2a1634fd6f
|
Update gdb_model_fields.go
annotation typo fix
|
2021-07-08 15:42:51 +08:00 |
|
John Guo
|
2970864158
|
fix issue #1240
|
2021-07-06 21:18:26 +08:00 |
|
John Guo
|
8e76d7a8ed
|
improve function TableFileds for gussing table name from table string;add overwrote function DoInsert for mssql/pgsql/oracle/sqlite for unsupported features
|
2021-07-06 20:59:09 +08:00 |
|
John Guo
|
50e5dd5bd0
|
fix issue in fields filtering for table name with as statement
|
2021-07-06 13:14:33 +08:00 |
|
John Guo
|
d109706ad3
|
unify error package to gerror
|
2021-06-26 18:34:26 +08:00 |
|
John Guo
|
b958689264
|
add CtxStrict feature for package gdb
|
2021-06-26 18:20:55 +08:00 |
|
John Guo
|
50ffaef33f
|
add context for intlog/gsession;improve struct/structs converting for package gconv
|
2021-06-26 16:23:54 +08:00 |
|
John Guo
|
c25f88293b
|
unify command or enviroment key names for packages
|
2021-06-26 12:08:18 +08:00 |
|
John Guo
|
65131c6f22
|
add automatic fields mapping and filtering for Model.Where statements
|
2021-06-23 12:04:16 +08:00 |
|
John Guo
|
7667aca4c2
|
improve Order feature for package gdb
|
2021-06-23 09:42:10 +08:00 |
|