Commit Graph

248 Commits

Author SHA1 Message Date
John
5ba53e56c9 improve join feature for sub-query for gdb.Model 2020-11-26 22:11:58 +08:00
John
0c0e902b07 if CreatedAt/UpdatedAt/DeletedAt field name configured, just use it, ignore the default field names 2020-11-26 20:17:24 +08:00
John
750b53d7aa improve debug infor for argument of time.Time for package gdb 2020-11-26 19:53:44 +08:00
John
fadb7a8f8f fix issue 1002 2020-11-21 13:20:32 +08:00
John
e1bfe90833 improve package gdb for structire retrieving in transaction operations 2020-11-21 12:24:32 +08:00
John
042dc0b33f improve package gdb for structire retrieving in transaction operations 2020-11-21 11:42:50 +08:00
John
e20183e7a1 improve gutil.Keys/Values for embedded struct 2020-11-20 00:53:12 +08:00
John
bfcf133c91 improve sqlite.Open 2020-11-19 20:37:27 +08:00
Jack
24a377d3a8 fix issue in custom mapping for gconv.Struct 2020-11-19 14:52:19 +08:00
John
17a11187b0 fix issue in gdb.Model.Fields 2020-11-18 00:32:09 +08:00
John
7caf7976cf add gdb.Model.Args 2020-11-18 00:16:34 +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
Jack
d7542e87ae improve gdb.Model.Count 2020-11-10 10:37:42 +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
1edc1f35fb add individual cache for package gdb/gfile 2020-11-07 20:00:35 +08:00
John
9cb88bca5a improve fields quoting for gdb.Model 2020-11-06 21:32:10 +08:00
John
9ae8a7ca33 improve Fields/FieldsEx by adding support for map/struct parameters for gdb.Model 2020-11-06 20:52:16 +08:00
John
f4da179140 there should be WHERE statement in Update/Delete operations 2020-11-06 00:00:41 +08:00
John
9f04e46166 mark gconv.StructDeep/StructsDeep deprecated 2020-11-05 23:02:29 +08:00
John
c056fd2a06 improve word quoting for function FieldsEx 2020-11-04 19:53:50 +08:00
Jack
4ae89dc9f6 improve package internal/structs 2020-10-30 22:04:34 +08:00
Jack
ebb8d8a2f7 fix issue in 2020-10-27 10:40:47 +08:00
Jack
561a541fa1 add custom CreatedAt/UpdatedAt/DeletedAt filed name configuration for package gdb 2020-10-20 21:01:39 +08:00
John
dd5cd31ef5 add automatic data key to field name mapping feature for package gdb 2020-10-17 18:16:13 +08:00
John
261216f5e4 improve structure sql for package gdb 2020-10-12 23:22:56 +08:00
John
f88b799d67 add more unit testing case for package gdb 2020-10-11 22:21:03 +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
09ce105eee improve gdb.Model.Fields/FieldsEx for package gdb 2020-10-10 14:00:10 +08:00
John
1b40d6a53a do tx.Rollback if there's panic in gdb.Transaction 2020-10-09 23:42:33 +08:00
John
849874a247 improve adapter definition for package gcache 2020-10-09 20:59:49 +08:00
John
9943966a86 improva function formatSql for package gdb 2020-09-29 22:53:44 +08:00
John
3617e51c01 improve gdb.Model.ScanList 2020-09-28 23:52:02 +08:00
John
c931032f08 comment update for gdb.Model.Unscoped 2020-09-27 23:37:40 +08:00
John
619287c273 improve cache feature for package gdb 2020-09-27 00:15:11 +08:00
John
727fdd2391 improve unit testing case for association feature for package gdb 2020-09-25 08:33:22 +08:00
John
a5e3e2f5ba change g.SetDebug function to control the debugging information for framework 2020-09-24 23:40:44 +08:00
cai1111
4c8517d075
Update gdb_driver_mssql.go 2020-09-17 11:06:24 +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
9d0ecc7d3e add more unit testing case for package gdb 2020-09-07 20:25:59 +08:00
John
2440e05457 fix issue in limit operations for database driver oracle 2020-09-03 22:38:07 +08:00
John
1337c6c0d1 add sub query sql support for join functions 2020-09-03 21:57:58 +08:00
John
9cd953b7be improve function FieldsEx by filtering fields from custom fields specified by function Fields for package gdb 2020-09-02 20:37:02 +08:00
Jack
d4091a4826 improve some transaction operations by directly calling model operations, making their implements logic the same 2020-08-31 15:57:04 +08:00
Jack
a7c269886b improve support for dynamic database configurations in codes 2020-08-31 15:39:27 +08:00
Jack
f54593037b improve CURD functions for package gdb 2020-08-31 00:59:42 +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
bea451c9d6 improve date type support for package gdb; improve datetime string for gtime.StrToTime; improve function gtime.New for more types 2020-08-21 23:41:12 +08:00
Jack
a8acc6bd28 update unit testing case for package gdb 2020-08-14 00:51:22 +08:00