Commit Graph

127 Commits

Author SHA1 Message Date
John Guo
bbab9f3934 rename DoGetAll to DoSelect 2022-03-14 19:36:43 +08:00
John Guo
ba7cbfe3d9 error message update for database driver import 2022-03-10 14:29:49 +08:00
John Guo
afa58ed45b fix issue #1227 #1617 2022-02-22 10:43:31 +08:00
John Guo
5ab959ba58 fix issue #1554 2022-02-16 00:26:06 +08:00
John Guo
65d1648c30 improve seconds unit support in configuration for package gredis 2022-01-22 13:48:09 +08:00
John Guo
a4d80bf743 move db drivers to github.com/gogf/gf/gdb-drivers 2022-01-21 18:06:35 +08:00
John Guo
7e5301c845 expose insert option constants for package gdb 2022-01-21 17:31:48 +08:00
John Guo
e5613e8690 improve function New for creating db by specified configuration node 2022-01-12 21:57:46 +08:00
John Guo
0a7e4be4ef improve DoCommit for package gdb 2022-01-01 15:47:17 +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
ce93b625d4 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-21 22:59:14 +08:00
John Guo
b6df7b94d0 change MaxConnCount to 0 for ulimited connections for package gdb 2021-12-04 13:57:38 +08:00
John Guo
5073413ffc improve TableFields feature for package gdb 2021-11-27 12:59:41 +08:00
houseme
c6efb5ee3b [feature] improve code range map 2021-11-16 17:21:13 +08:00
houseme
be03b3cdda Improved import, by group improt. 2021-11-13 23:23:55 +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
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