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 |
|
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 |
|
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
|
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 |
|
John Guo
|
816791b9c1
|
improve function Increment/Decrement for package gdb
|
2021-06-23 09:34:53 +08:00 |
|
John Guo
|
d6ea2220f7
|
add auto fields filtering feature for function Scan of package gdb; mark funtcion Struct/Structs deprecated for gdb.Model
|
2021-06-22 21:48:56 +08:00 |
|
John Guo
|
69dd5db774
|
improve record converting for package gdb
|
2021-06-22 20:05:37 +08:00 |
|
jflyfox
|
adca9222ab
|
improve transaction feature for package gdb
|
2021-06-22 17:42:31 +08:00 |
|
John Guo
|
266f592739
|
improve raw sql count statement for package gdb
|
2021-06-21 19:21:38 +08:00 |
|
John Guo
|
ba18e2bf6b
|
comment update
|
2021-06-21 09:37:12 +08:00 |
|
John Guo
|
5fefe97b87
|
add Raw Model for package gdb
|
2021-06-18 15:27:49 +08:00 |
|
John Guo
|
5fba250a14
|
add Raw Model for package gdb
|
2021-06-18 15:20:27 +08:00 |
|
John Guo
|
2606ad83ac
|
add OnDuplicate/OnDuplicateEx feature for package gdb
|
2021-06-16 21:51:44 +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
|
97879834bc
|
remove deprecated functions for package gdb
|
2021-06-08 21:28:41 +08:00 |
|
John Guo
|
332535901f
|
Merge branch 'master' of https://github.com/gogf/gf
|
2021-06-08 20:32:52 +08:00 |
|
John Guo
|
e68e7a3224
|
remove Batch*/DoBatchInsert functions for package gdb
|
2021-06-08 20:32:34 +08:00 |
|
qinyuguang
|
6eb7261dfd
|
add timezone configuration for package gdb, effective for mysql and pgsql
|
2021-06-07 13:45:40 +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
|
a54559d016
|
add WhereLT/WhereLTE/WhereGT/WhereGTE/WhereOrLT/WhereOrLTE/WhereOrGT/WhereOrGTE functions for gdb.Model
|
2021-06-04 09:27:41 +08:00 |
|
John Guo
|
8e1f6abac5
|
change github.com/go-sql-driver/mysql to github.com/gogf/mysql
|
2021-06-03 15:38:33 +08:00 |
|
John Guo
|
392c81ad69
|
remove Link parameter from function TableFields for package gdb
|
2021-05-29 17:26:08 +08:00 |
|
John Guo
|
fe142c93fd
|
add function Transaction for gdb.Model
|
2021-05-29 17:07:49 +08:00 |
|
John Guo
|
5100e0e8b7
|
add sub-query feature for orm
|
2021-05-27 22:18:16 +08:00 |
|
John Guo
|
5903eb8ceb
|
fix issue #1254
|
2021-05-25 09:56:23 +08:00 |
|
John Guo
|
211e62a8e7
|
add timestamptz type support for pgsql for package gdb
|
2021-05-24 13:30:04 +08:00 |
|
John Guo
|
64a9b06e64
|
comment update
|
2021-05-23 00:02:49 +08:00 |
|
jflyfox
|
6d81aa4462
|
infract internal link
|
2021-05-21 15:38:56 +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
|
7d3233c7ad
|
add context for custom validation rule function;add function WhereNot for gdb.Model
|
2021-05-19 22:33:50 +08:00 |
|
John Guo
|
3e2662582c
|
improve nested transaction feature for package gdb
|
2021-05-19 21:17:21 +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
|
7003c284d0
|
replace json.Unmarshal with json.UnmarshalUseNumber for packages
|
2021-05-15 22:38:07 +08:00 |
|
John Guo
|
d21b9d58e1
|
improve with feature by supporting attributes struct which also have 'with' tag
|
2021-05-12 21:34:15 +08:00 |
|
John Guo
|
1eab1cb367
|
add more unit testing cases,remove function Filter usage in unit testing cases for package gdb
|
2021-05-11 20:14:06 +08:00 |
|
John Guo
|
2e38416e12
|
improve struct embedded association case of with feature for package gdb
|
2021-05-11 20:00:50 +08:00 |
|
John Guo
|
742653ce75
|
improve Model function for struct parameter that can retrieve table name tag from
|
2021-05-02 23:28:24 +08:00 |
|
John Guo
|
a8c3d07d9f
|
improve with feature for package gdb
|
2021-05-02 22:35:47 +08:00 |
|
John Guo
|
4b15ab5e99
|
improve OrderRandom function for package gdb
|
2021-05-02 16:42:34 +08:00 |
|
John Guo
|
cdc97e9b2b
|
improve logging for transaction feature for package gdb
|
2021-05-02 15:58:28 +08:00 |
|
John Guo
|
bd84b97614
|
add more Where*/Min/Max/Avg/Sum/CountColumn/Increment/Decrement/OrderAsc/OrderDesc/OrderRandom functions and associated unit testing cases for package gdb
|
2021-05-02 12:17:06 +08:00 |
|
John Guo
|
d7eb1cca07
|
add nested transaction feature for package gdb
|
2021-05-02 09:35:54 +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
|
78027d2ec6
|
deprecated comments update
|
2021-03-30 13:43:08 +08:00 |
|
John Guo
|
bb6883213f
|
fix issue #1202
|
2021-03-24 22:04:04 +08:00 |
|
John Guo
|
54395b39a6
|
fix issue #1202
|
2021-03-24 21:19:23 +08:00 |
|
John Guo
|
c423ad4830
|
fix issue in gfile.MainPkgPath;improve fields filter for package gdb
|
2021-03-23 14:21:54 +08:00 |
|
jianchenma
|
6a24b595f0
|
upgrade otel from 0.16.0 to 0.18.0
|
2021-03-18 10:39:23 +08:00 |
|
John Guo
|
7702c5bfde
|
add internal logging for package gdb/gredis
|
2021-03-11 11:39:49 +08:00 |
|
John Guo
|
ae0cc5a4b6
|
add more unit testing case for ScanList feature
|
2021-03-04 20:45:05 +08:00 |
|
John Guo
|
ba74e0beb2
|
improve ScanList of the same replation names for package gdb
|
2021-03-04 00:07:06 +08:00 |
|
John Guo
|
1c7f034135
|
Merge branch 'master' of https://github.com/gogf/gf
|
2021-03-02 23:32:50 +08:00 |
|
John Guo
|
4c78ce6e3f
|
fix issue #1187
|
2021-03-02 23:27:50 +08:00 |
|
turc
|
0e6cddb547
|
去除cancelFunc避免退出之前关闭mysqlConn导致数据获取不完整
|
2021-03-01 01:43:53 +08:00 |
|
John Guo
|
d2bd37962e
|
add unit testing case of UnmarshalValue for struct converting of querying result; improve package gdb
|
2021-02-27 23:58:36 +08:00 |
|
John Guo
|
5adde275fc
|
add switch variable for internal type tracing components
|
2021-02-14 22:00:56 +08:00 |
|
John Guo
|
a3fa10d820
|
great! completed 'with' feature for package gdb
|
2021-02-09 18:00:43 +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 |
|
jflyfox
|
39fb842e9b
|
Merge branch 'master' into feature/ormwith
|
2021-02-07 15:34:50 +08:00 |
|
jflyfox
|
397e11e124
|
improve package gdb for association feature
|
2021-02-07 14:39:32 +08:00 |
|
jflyfox
|
f4314c318e
|
up
|
2021-02-07 10:40:02 +08:00 |
|
jianchenma
|
8ae0bd148b
|
improve ScanList for package gdb; improve Structs for package gconv
|
2021-02-05 17:42:05 +08:00 |
|
jianchenma
|
72251b880a
|
improve package gconv for slice converting
|
2021-02-05 14:44:20 +08:00 |
|
John Guo
|
3b2bae6128
|
improve soft deletion for package gdb
|
2021-02-03 23:11:17 +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 |
|