Commit Graph

111 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
1bc0635f8b version 2 2021-10-11 21:41:56 +08:00
John Guo
dd4e08e88d refract package gdb; add selected & affected count to logging 2021-09-29 20:39:02 +08:00
John Guo
993bf897cf remove deprecated functions; refract package gjson 2021-09-27 22:47:39 +08:00
John Guo
2e49c33cc7 remove depecated functions from package ghttp 2021-09-19 23:13:53 +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
1c600d5b20 revert ORM logger from interface to glog.Logger 2021-08-10 15:36:15 +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
0ddacdd7e2 add error code for components 2021-07-20 23:02:02 +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
5fba250a14 add Raw Model for package gdb 2021-06-18 15:20:27 +08:00
John Guo
d450de8e0d add OnDuplicate/OnDuplicateEx feature for package gdb 2021-06-16 21:44:31 +08:00
John Guo
2af4fd86cc rename configuration node name from LinkInfo to Link 2021-06-15 19:57:55 +08:00
John Guo
fe7209e76d rename HandleSqlBeforeCommit to DoCommit for package gdb 2021-06-08 21:55:55 +08:00
John Guo
e68e7a3224 remove Batch*/DoBatchInsert functions for package gdb 2021-06-08 20:32:34 +08:00
John Guo
3ac5772059 add UNION/UNION ALL feature for package gdb 2021-06-06 23:06:39 +08:00
John Guo
8aa7f08350 improve DB interface for package gdb 2021-06-04 09:54:19 +08:00
John Guo
392c81ad69 remove Link parameter from function TableFields for package gdb 2021-05-29 17:26:08 +08:00
John Guo
5100e0e8b7 add sub-query feature for orm 2021-05-27 22:18:16 +08:00
jflyfox
406b6bf410 infract internal link 2021-05-21 15:30:21 +08:00
John Guo
4e41d8aff8 improve context and nested transaction feature for package gdb 2021-05-21 13:25:53 +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
a8c3d07d9f improve with feature for package gdb 2021-05-02 22:35:47 +08:00
John Guo
cdc97e9b2b improve logging for transaction feature for package gdb 2021-05-02 15:58:28 +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
7702c5bfde add internal logging for package gdb/gredis 2021-03-11 11:39:49 +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
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
1c93c2b000 merge develop 2021-01-26 21:19:43 +08:00
jianchenma
0baa52afee improve statement features for package gdb 2021-01-26 11:09:50 +08:00
jianchenma
b89d8d2740 add tracing feature for package gdb 2021-01-25 21:17:32 +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
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
jflyfox
662f1ed6b7 add Query/Exec/Prepare back for gdb.Link 2020-12-29 14:01:49 +08:00
John Guo
d25a3909d1 improve context feature for package gdb 2020-12-28 23:03:13 +08:00
John Guo
cb2c9c43a8 rename constant names 2020-12-14 19:34:02 +08:00
jflyfox
7316e6648f change errors to gerror; update copyright in comment 2020-12-09 16:04:29 +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
Jack
5171250a9d improve gutil.Keys,gdb.Model.Fields,internal/structs 2020-12-04 14:22:50 +08:00
John
cabf684ec9 add context feature for package gdb 2020-11-29 23:47:57 +08:00