Commit Graph

145 Commits

Author SHA1 Message Date
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
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
65131c6f22 add automatic fields mapping and filtering for Model.Where statements 2021-06-23 12:04:16 +08:00
John Guo
d450de8e0d add OnDuplicate/OnDuplicateEx feature for package gdb 2021-06-16 21:44:31 +08:00
John Guo
e68e7a3224 remove Batch*/DoBatchInsert functions for package gdb 2021-06-08 20:32:34 +08:00
John Guo
5100e0e8b7 add sub-query feature for orm 2021-05-27 22:18:16 +08:00
John Guo
4e41d8aff8 improve context and nested transaction feature for package gdb 2021-05-21 13:25:53 +08:00
John Guo
a8c3d07d9f improve with feature for package gdb 2021-05-02 22:35:47 +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
59285709a6 fix issue in filds filter in join statements for package gdb 2021-01-20 13:09:59 +08:00
John Guo
92b791eb08 improve Struct convertion for package gdb; improve IsNil function for package internal/empty 2021-01-09 21:05:47 +08:00
tiansin
95b09aa5fe feat: 🐛 fix GetWhereConditionOfStruct where AND 2020-12-25 16:03:01 +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
32101189a2 Merge branch 'master' of https://github.com/gogf/gf into develop 2020-11-29 21:46:36 +08:00
sunmoon
6cb38cfa92 add update counter method for package gdb. 2020-11-28 14:56:21 +08:00
John
9592fb099f Change time string argument wrapping with TO_DATE function for DriverOracle in package gdb 2020-11-27 23:11:55 +08:00
John
18ec6116ad improve time argument timezone handling for package gdb 2020-11-27 22:51:34 +08:00
Jack
9d0f306684 improve time argument timezone handling for package gdb 2020-11-27 21:03:22 +08:00
John
750b53d7aa improve debug infor for argument of time.Time for package gdb 2020-11-26 19:53:44 +08:00
John
c273ce576b add default configuration for MaxOpenConnCount for package gdb 2020-11-10 21:19:15 +08:00
Jack
f8d57096a8 add slice parameter support for gdb.Model.Where 2020-11-10 13:43:12 +08:00
John
e06b62ecf2 add default value from struct tag for ghttp.Request 2020-11-08 15:44:04 +08:00
John
d178102f82 remove third party package 'structs'; improve performance for package internal/structs 2020-11-08 14:25:17 +08:00
John
9f04e46166 mark gconv.StructDeep/StructsDeep deprecated 2020-11-05 23:02:29 +08:00
Jack
4ae89dc9f6 improve package internal/structs 2020-10-30 22:04:34 +08:00
John
9c48dd172c add auto-json support for slice/struct attribute for data inserting of package gdb 2020-10-10 17:29:38 +08:00
John
9943966a86 improva function formatSql for package gdb 2020-09-29 22:53:44 +08:00
John
edf06da6ea add struct which implements Interfaces function parameter support for gdb.Model.Insert/Save 2020-09-13 11:21:10 +08:00
John
1337c6c0d1 add sub query sql support for join functions 2020-09-03 21:57:58 +08:00
Jack
0415cf6a08 fix issue in nil gtime attribute for model entity for package gdb 2020-08-31 00:39:12 +08:00
john
e252d8b740 add function ListItemValuesUnique for package gdb 2020-07-25 15:05:08 +08:00
john
f489e6273e fix issue 819 2020-07-25 10:54:48 +08:00
John Guo
b9b470c2ae
Merge branch 'master' into master 2020-07-20 22:14:29 +08:00
john
48c84bf74a fix place holder for mssql 2020-07-20 21:48:44 +08:00
tiancai
d44ddae3dc debug postgre 2020-07-20 19:13:15 +08:00
john
2033299632 improve placeholder for pgsql 2020-07-15 20:15:09 +08:00
john
639d34d5d9 fix issue in incorrect debug sql information for package gdb 2020-07-15 20:10:54 +08:00
john
4e027c1de3 improve argument handling for empty slice for package gdb 2020-07-11 09:53:16 +08:00
John
12d58e4d08 add ScanList feature for gdb.Model 2020-07-05 11:54:37 +08:00
John
0e884c78f5 fix issue of https://github.com/gogf/gf/issues/765 2020-06-28 23:03:41 +08:00
John
f3525c84a3 fix issue in debug infor for soft deleting feature of package gdb 2020-06-17 23:47:47 +08:00
John
facb9d93c0 fix issue of multiple slice arguments handling in function where 2020-06-03 21:36:16 +08:00
John
d398b749d4 improve support for types of database pgsql 2020-05-14 21:15:44 +08:00
John
fa66bf5d9d improve cache feature of package gdb.Model 2020-04-26 21:31:55 +08:00
John
63f33d1d8c improve package gdb supporting gtime.Time parameter for Where condition 2020-04-15 18:02:32 +08:00
John
385a503d31 add soft deleting feature, improve chars handling for package gdb 2020-04-11 09:09:25 +08:00
John
495b5758ec improve quote handling of table string for package gdb; improve rotation feature for package glog 2020-03-26 22:22:27 +08:00
John
3c36285126 improve Model.Data function for package gdb 2020-03-24 20:58:11 +08:00
John
63e5a60344 improve package gdb 2020-03-22 23:26:15 +08:00
John
e513cd10ed add Lock* functions for gdb.Model and improve Data/Where functions for gdb.Model 2020-03-13 17:21:30 +08:00
John
11f0317e92 add Array feature for package gdb 2020-03-11 23:17:41 +08:00
John
8e40cded42 add custom driver feature for package gdb 2020-03-08 11:03:18 +08:00
John
0e52d467d3 improving package gdb 2020-03-08 00:17:42 +08:00
John
b0ef63fc9d improve bindArgsToQuery for surpport for pgsql/mssql/oracle for package gdb 2020-02-29 19:55:53 +08:00
John
745a913cfb add FilterNil/FilterEmpty functions for package garray; add FieldsStr/FieldsExStr for gdb.Model 2020-02-22 14:26:36 +08:00
John
88684ca00a add panic if internal watcher creation fails for gfsnotify; improve codes and change comment from chinese to english for gdb 2020-02-10 20:37:53 +08:00
John
784983806a add InserIgnore feature for package gdb 2020-02-08 23:46:10 +08:00
John
a6c0b281a3 add struct support for where condition statement of gdb 2020-02-07 20:58:47 +08:00
John
3120f24553 add struct support for where condition statement og gdb 2020-02-07 19:44:11 +08:00
John
ac9be6134b add global schema access support for mssql in gdb 2020-02-07 17:21:05 +08:00
John
33a899d32e add As function for gdb.Model; improve string quote handling for gdb 2020-01-08 21:24:33 +08:00
John
597f7468e9 fix issue in prefix feature for method operations of gdb 2019-12-23 23:14:54 +08:00
John
922e720d63 improve gdb/ghttp/gins; fix issue in gstr 2019-12-19 15:14:05 +08:00
John
76bc9bd385 improve gdb.Model 2019-12-16 21:00:16 +08:00
John
364452f3bb improve gdb.Model 2019-12-16 20:50:27 +08:00
John
27cf47bcd3 improve table prefix and quote feature for gdb 2019-12-13 15:25:49 +08:00
John
e3f54e1353 improve tag and field retrieving feature for internal/structs; comment update for gdb 2019-12-12 23:38:46 +08:00
John
c492de4fa8 improve multipart form parsing for ghttp.Server 2019-11-06 15:37:29 +08:00
John
734728fa9c improve time handling for gdb 2019-10-25 19:54:02 +08:00
John
d4051df5b6 improve gdb/gstr/gconv/garray 2019-10-21 19:13:25 +08:00
John
142484d89c add support for like statement in map key for Where function, improve error format for gdb 2019-10-13 00:37:25 +08:00
John
b830f9b96d improve ghttp.Server.Request for parameter retrieving; add Option feature for gdb; update example for hook feature of ghttp.Server 2019-09-29 14:27:09 +08:00
John
6c61704e60 adding package gi18n 2019-08-31 18:04:12 +08:00
John
ee89a06b3e improve model feature 2019-08-30 20:29:12 +08:00
John
d3a2bef9ba improve debug sql with arguments auto bound 2019-08-26 20:57:37 +08:00
John
1a20edc0b0 improving gdb and glog 2019-08-26 19:39:04 +08:00
John
f80ba1473e fix issue in stack skip feature for glog; fix issue in slice parameter for gdb 2019-08-24 23:08:17 +08:00
John
b01add2925 update project structure 2019-07-29 21:01:19 +08:00