John Guo
|
863bea1ad1
|
improve field type check from db to golang (#2023)
|
2022-07-22 16:44:24 +08:00 |
|
John Guo
|
6cf6414da2
|
improve package gdb
|
2022-05-10 16:31:56 +08:00 |
|
John Guo
|
3db97ba0dd
|
fix issue #1714, #1727
|
2022-05-09 20:42:41 +08:00 |
|
John Guo
|
e81d6a859b
|
Merge pull request #1729 from WesleyWu/fix#1714
fix timezone bug when persisting *gtime.Time to db #1714
|
2022-05-09 20:28:00 +08:00 |
|
John Guo
|
68e75c589b
|
add WhereBuilder feature for package gdb
|
2022-04-30 15:53:56 +08:00 |
|
wumengye
|
1a271ce627
|
fix timezone bug when persisting *gtime.Time to db #1714
|
2022-04-03 16:00:19 +08:00 |
|
John Guo
|
21f48d3750
|
improve Unique function performance for normal arrays
|
2022-03-30 14:32:16 +08:00 |
|
John Guo
|
09ba1bf1fb
|
imrove context handling for package gdb
|
2022-03-24 17:51:49 +08:00 |
|
John Guo
|
cc01629b57
|
improve hook and sharding feature for package gdb
|
2022-03-24 15:33:30 +08:00 |
|
John Guo
|
d8d9996464
|
fix issue #1662
|
2022-03-11 10:24:42 +08:00 |
|
John Guo
|
17d7c92b9d
|
fix issue #1217
|
2022-02-17 22:42:33 +08:00 |
|
John Guo
|
7e5301c845
|
expose insert option constants for package gdb
|
2022-01-21 17:31:48 +08:00 |
|
John Guo
|
9345eb5e94
|
dto -> do for package gdb
|
2022-01-17 21:10:58 +08:00 |
|
John Guo
|
0a7e4be4ef
|
improve DoCommit for package gdb
|
2022-01-01 15:47:17 +08:00 |
|
John Guo
|
3932e0b15f
|
add OmitEmpty support for WhereIn
|
2021-12-28 17:15:01 +08:00 |
|
John Guo
|
b79e4a3ab7
|
add interface function ConvertDataForRecord for gdb.DB
|
2021-12-23 22:00:28 +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
|
19c9f0a488
|
add DTO feature for package gdb
|
2021-12-15 00:01:59 +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
|
f2ef7454c2
|
improve prefix feature for package gdb
|
2021-11-17 21:29:46 +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
|
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 |
|
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
|
1188793f8f
|
automatically add column prefix for where conditions
|
2021-10-29 16:57:56 +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 |
|
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
|
02478371f2
|
fix issue missing org tag value retrieving when using struct in Fields for package gdb
|
2021-09-28 22:02:08 +08:00 |
|
jianchenma
|
01a3dd1eb0
|
add function gerror.HasStack; rename all api* interfaces to i*
|
2021-09-17 19:26:56 +08:00 |
|
John Guo
|
73d2b7ed06
|
fix issue #1387
|
2021-08-30 22:26:02 +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
|
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
|
65fff6feae
|
version updates
|
2021-08-04 13:29:06 +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
|
fddc21670a
|
add condition and order-by feature for with tag feature for package gdb
|
2021-08-02 00:38:56 +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 |
|
John Guo
|
fbfc23211c
|
fix issue in Counter of package gdb
|
2021-07-13 19:37:16 +08:00 |
|