Commit Graph

71 Commits

Author SHA1 Message Date
97df154b78 gofmt 2019-06-19 09:06:52 +08:00
e6d4459992 comment update for gcache 2019-06-11 20:57:43 +08:00
35d860427e add GetLastSql function for gdb 2019-06-01 20:31:29 +08:00
7cc0c7a1cc rename map type of gmap; rename BatchSet/BatchRemove to Sets/Removes for gmap/gcache 2019-05-08 17:21:18 +08:00
87e3813636 remove go-sql-driver-mysql from third, add Register function to manually register 'mysql' driver 2019-05-04 00:10:02 +08:00
b89294561b add gmap.SetIfNotExistFunc/SetIfNotExistFuncLock for gmap; update comment of gmap; update instance feature of gcfg 2019-04-03 23:39:31 +08:00
07476a4349 add instance management feature for gdb/gredis; add customized configuration content management feature for gcfg; update gjson for data content type check 2019-04-02 14:37:46 +08:00
0af55794f6 add more unit test cases for gdb 2019-03-17 22:26:41 +08:00
2ba59e8943 fix issue in gtime convert in package gconv; add Structs/Scan functions for gdb.Model; add GetStructs/GetScan functions for gdb.Base and gdb.TX 2019-03-07 23:36:45 +08:00
ef34b2c9ce gdb updates, add batch operation support for Insert/Save/Replace, change list param type from List to interface{} for Batch* functions 2019-02-27 09:38:10 +08:00
66efbe63f0 add struct support for *Insert/*Save/*Replace/*Update/Where/Data functions 2019-02-26 01:19:01 +08:00
76c49170bd change gitee.com/johng/gf -> github.com/gogf/gf 2019-02-02 16:18:25 +08:00
72569321fa package comments update 2019-01-16 13:35:16 +08:00
0c41909454 pakage comments updates 2019-01-15 23:27:47 +08:00
f900414e38 add surport for field type auto detection in gform 2019-01-14 22:55:43 +08:00
adf06a2b0d thirdparty package kafka updated to date 2019-01-02 11:02:03 +08:00
4172eae87e update default ConnMaxLifeTime to 30 seconds in gdb package 2018-12-28 22:02:21 +08:00
26f2c61068 update default ConnMaxLifeTime to 30 seconds in gdb package 2018-12-28 22:00:49 +08:00
f97bed2607 update default ConnMaxLifeTime to 10 seconds in gdb package 2018-12-28 21:56:27 +08:00
fff31e0f4f add Charset support for mysql of gdb package; fix issue for glog for log writing failed when the folder path wa deleted 2018-12-19 18:15:22 +08:00
18d2df33f7 CI updates 2018-12-17 19:26:59 +08:00
c5e9686a95 gdb updates, make priority=1 when no priority set 2018-12-16 23:11:15 +08:00
7434dfe6fa done refacting gdb package 2018-12-16 22:22:07 +08:00
e67aa63a50 refract gdb package, add complete unit test cases, almost there 2018-12-15 15:50:39 +08:00
d5e46f2b42 refracting gdb package 2018-12-14 18:35:51 +08:00
105a821069 fix issue: database connection pool does not work expectly 2018-12-12 20:01:10 +08:00
ceaa1a4dd1 Merge branch 'develop' of https://gitee.com/johng/gf into develop 2018-11-19 21:12:21 +08:00
9e1ad46c90 改进ghttp.Request,增加SetParam/GetParam请求流程自定义变量方法;gvar模块增加VarRead只读接口 2018-11-19 21:11:43 +08:00
d85332aca1 ORM新增对MSSQL的支持 2018-11-19 11:38:57 +08:00
1608a96d98 修复gdb中sqlite数据库识别键名问题 2018-11-06 15:09:47 +08:00
01bbbabdec 增加oracle数据库支持 2018-11-01 09:58:46 +08:00
23cc742cd9 增加注释 2018-10-30 22:41:53 +08:00
7fbbf09b0e 新增go modules支持,自行管理第三方包依赖,方便开发者使用 2018-10-22 11:13:00 +08:00
5204193c58 改进gdb,增加数据库操作自动Close特性(使用链接池),用户无需再defer db.Close(),并增加g.DB数据库对象单例别名 2018-10-13 20:29:27 +08:00
75cd76c49b 完善注释 2018-10-11 15:47:57 +08:00
f0c4068448 完成gvar包的开发,并改进相关依赖包 2018-10-09 13:33:00 +08:00
44c615ffae 增加调试模式下的SQL列表打印方法PrintQueriedSqls;改进gtime.NewFromTimeStamp方法,支持纳秒级的时间戳参数 2018-08-08 20:37:15 +08:00
44cd5275d5 新增sqlite支持 2018-08-08 20:09:52 +08:00
cc0bcbf144 update 2018-08-08 14:02:23 +08:00
1ac39cd2e0 rm .DS_Store 2018-08-08 13:53:24 +08:00
15e7a9b8a8 update 2018-08-08 13:37:08 +08:00
a689f34765 add 支持sqlite 2018-08-08 09:09:28 +08:00
aadbb774f8 gdb增加MaxIdleConnCount/MaxOpenConnCount/MaxConnLifetime三项配置,并增加SetMaxConnLifetime方法 2018-07-27 16:32:05 +08:00
0ddfdae20c 修复gdb查询缓存失效问题 2018-07-23 19:17:17 +08:00
326a58e3fa ORM查询缓存特性开发中 2018-07-19 15:33:17 +08:00
dd528db528 完善gdb包调试模式特性及示例代码 2018-07-10 23:24:13 +08:00
db06c6acd3 增加gring并发安全环;gdb包增加调试模式特性并增加了获得在调试模式下已执行的SQL列表结果 2018-07-05 19:36:35 +08:00
8a7232357d 改进gdb.Map/List及g.Map/List的类型定义,改用别名特性以便支持原生类型输入(map/slice),并修复gdb.Model.Update方法参数处理问题 2018-05-25 18:20:40 +08:00
ac7f81849b 修改gdb.Value类型的数据结构为[]byte,并改进ORM的Value方法,返回Value数据类型 2018-05-01 13:02:20 +08:00
41efc6923e gdb增加Value/Record/Result类型,增加对Value类型的系列类型转换方法,gconv包新增Time/TimeDuration类型转换方法 2018-05-01 10:09:57 +08:00