Commit Graph

82 Commits

Author SHA1 Message Date
John Guo
3932e0b15f add OmitEmpty support for WhereIn 2021-12-28 17:15:01 +08:00
John Guo
f2ef7454c2 improve prefix feature for package gdb 2021-11-17 21:29:46 +08:00
houseme
be03b3cdda Improved import, by group improt. 2021-11-13 23:23:55 +08:00
John Guo
e0a0fcbde2 improve cache feature for package gdb 2021-11-09 16:06:31 +08:00
John Guo
09b8df1818 add WherePrefix/WhereOrPrefix for gdb.Model 2021-10-29 15:49:08 +08:00
John Guo
1bc0635f8b version 2 2021-10-11 21:41:56 +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
006fb79967 improve package gjson; replace fmt.Errorf to gerror; improve examples for package gdb 2021-09-13 16:43:09 +08:00
John Guo
903f29a824 add OmitNil feature for package gdb 2021-08-13 11:28:47 +08:00
John Guo
7b9888c004 add FieldCount/FieldSum/FieldMax/FieldMin/FieldAvg functions for gdb.Model 2021-08-12 19:42:44 +08:00
John Guo
a4497ed547 improve gdb.Modle for where holder 2021-08-03 21:32:05 +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
50e5dd5bd0 fix issue in fields filtering for table name with as statement 2021-07-06 13:14:33 +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
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
d450de8e0d add OnDuplicate/OnDuplicateEx feature for package gdb 2021-06-16 21:44:31 +08:00
John Guo
3ac5772059 add UNION/UNION ALL feature for package gdb 2021-06-06 23:06:39 +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
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
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
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
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
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
jflyfox
7316e6648f change errors to gerror; update copyright in comment 2020-12-09 16:04:29 +08:00
John
790a651ac1 fix typo 2020-11-29 23:55:32 +08:00
John
6f93bd17f2 add context feature for package gdb 2020-11-29 23:54:38 +08:00
John
cabf684ec9 add context feature for package gdb 2020-11-29 23:47:57 +08:00
John
042dc0b33f improve package gdb for structire retrieving in transaction operations 2020-11-21 11:42:50 +08:00
John
7caf7976cf add gdb.Model.Args 2020-11-18 00:16:34 +08:00
John
c08739b5a3 add function Having for gdb.Model 2020-04-11 10:11:52 +08:00
John
385a503d31 add soft deleting feature, improve chars handling for package gdb 2020-04-11 09:09:25 +08:00
John
ef286b0c15 add unit testing case for auto time and soft deleting features for package gdb 2020-04-09 22:48:21 +08:00
John
7fd53673ce add automatic time and soft deleting features: create_at/update_at/delete_at for package gdb; improve schema changing feature for package gdb 2020-04-08 21:26:14 +08:00
John
2d30a53c3a remove function From for package gdb; add function g.Table; add ServeHTTP interface implements for ghttp.Server 2020-04-04 22:46:52 +08:00
John
f82f7ab199 change default value of safe from false to true for gdb.Model 2020-04-03 10:16:57 +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
5e489d59b4 improve HandleSqlBeforeExec function for package gdb 2020-03-09 21:53:58 +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
745a913cfb add FilterNil/FilterEmpty functions for package garray; add FieldsStr/FieldsExStr for gdb.Model 2020-02-22 14:26:36 +08:00
John
784983806a add InserIgnore feature for package gdb 2020-02-08 23:46:10 +08:00