Commit Graph

304 Commits

Author SHA1 Message Date
thinkphp
ed5d05f4b7 修正 2017-08-31 17:01:03 +08:00
thinkphp
18aa14924e chunk方法添加异常处理 2017-08-31 16:15:24 +08:00
thinkphp
aa0583fee4 改进Query类chunk方法避免受order方法影响 2017-08-31 15:58:48 +08:00
thinkphp
e2c7ba29e3 改进chunk方法的order参数大小写 2017-08-21 11:16:56 +08:00
thinkphp
6b98a9974c 改进Query类的chunk方法支持排序设置 2017-08-19 10:42:05 +08:00
yinggaozhen
64c51cdde6 修改connecttion和belongsTo若干文档注释错误 2017-08-03 11:29:14 +08:00
thinkphp
5c1d516a65 修正聚合查询返回null的问题 2017-07-06 23:23:06 +08:00
thinkphp
ac7dbafab2 优化query类的insert方法 2017-07-05 13:32:13 +08:00
thinkphp
6e94f2eae7 修正数据库查询一处问题 改进数据库异常避免暴露敏感信息 2017-07-04 09:08:52 +08:00
thinkphp
73cafb95dc 修正Query类的value和column方法 2017-05-29 09:30:00 +08:00
thinkphp
253f2bfc7b insertall支持replace 2017-05-21 00:35:25 +08:00
thinkphp
7deea9dd07 改进Query类 2017-05-20 23:22:23 +08:00
thinkphp
2ee83fff81 Revert "Query类分页查询方法增加total_cache参数配置"
This reverts commit 6a550b8cb8.
2017-05-15 16:55:15 +08:00
thinkphp
6a550b8cb8 Query类分页查询方法增加total_cache参数配置 2017-05-15 16:45:20 +08:00
thinkphp
c0763644f3 修正Query类的useSoftDelete方法返回值 2017-05-11 14:23:09 +08:00
thinkphp
a9d5851672 修正一对一嵌套关联数组定义的问题 2017-05-08 23:03:39 +08:00
thinkphp
3dda16bbda 改进使用了手动参数绑定的时候 缓存出现问题的情况 2017-05-06 09:35:43 +08:00
thinkphp
9ea7f48e1a 修正Query类 2017-04-17 08:54:40 +08:00
thinkphp
29846f5abc 修正关联查询的软删除数据问题 2017-04-07 17:28:17 +08:00
水平凡
ba21d22213 lazyWrite方法调用Cache的inc方法时参数多余 2017-03-21 14:05:02 +08:00
thinkphp
c36bcf6bab 改进Query类的column方法 2017-03-20 15:27:16 +08:00
thinkphp
a7cdc2b126 改进软删除操作 2017-03-13 16:47:50 +08:00
thinkphp
97ee6c045b 改进Query类的view方法中字段的关键字问题 2017-02-24 13:13:18 +08:00
thinkphp
138f48498e 改进Query类with方法 2017-02-23 18:25:20 +08:00
thinkphp
365b2a36aa 修正update方法 2017-02-20 18:37:38 +08:00
thinkphp
c917ad1ce9 改进Query类缓存机制 2017-02-14 16:25:33 +08:00
苗高鹏
21834f797d Merge branch 'master' into bugfix3 2017-02-13 14:53:24 +08:00
thinkphp
1e1f36eb40 改进Query类缓存更新 修正Connection类一处可能的错误 2017-02-09 17:49:47 +08:00
thinkphp
0d48f4a80c 改进Query类的find方法的缓存机制 2017-02-09 16:28:10 +08:00
thinkphp
13924b5a8b 改进Query类的insert方法一处可能存在的警告错误 改进Model类一处Collection的use 2017-02-08 18:06:12 +08:00
thinkphp
fb8415e653 Query类增加cacheData方法用于数据缓存统一写入 2017-02-04 14:13:44 +08:00
thinkphp
1d23f67e11 优化代码 2017-01-31 10:47:17 +08:00
thinkphp
a3aa8a6de8 find方法查询缓存改进 2017-01-31 10:44:10 +08:00
thinkphp
aa7a5e8c32 改进Query类的find方法数据缓存机制 2017-01-30 15:38:15 +08:00
thinkphp
e5b42f95c5 改进Query类after_insert after_updata after_delete before_select before_find 回调方法的参数 统一传入$options['data'] 2017-01-30 14:53:16 +08:00
thinkphp
85245fdf35 改进Query类的after_insert回调方法参数 2017-01-30 14:37:28 +08:00
thinkphp
96238de8e3 改进Query类after_update回调方法 2017-01-30 14:33:56 +08:00
thinkphp
ff85b8c3cf 改进after_insert回调方法的参数 传入最终的data数据 包括自增ID 2017-01-30 14:29:12 +08:00
thinkphp
f12adbb943 改进Query类的自动缓存更新 2017-01-30 13:31:05 +08:00
thinkphp
9a308b94e3 改进Query类delete方法的缓存标识读取 2017-01-29 17:01:51 +08:00
thinkphp
e192f97a6d 修正Query类的update和delete方法的自动缓存清理 2017-01-29 16:40:03 +08:00
thinkphp
55b99355d7 改进Query类的setBuilder方法 避免因自定义连接器类后找不到生成器类 2017-01-26 13:55:01 +08:00
thinkphp
7348729b40 Query类的hidden和visible方法取消 改进Model类的hidden和visible方法支持操作关联属性 2017-01-22 23:21:46 +08:00
thinkphp
b1fa683e3d Query类增加hidden和visible方法 用于模型输出的字段隐藏和显示
with和relation方法支持多次调用
2017-01-22 17:13:41 +08:00
thinkphp
6f02e4b127 关联预载入方法调整 取消class参数 关联的数据集查询根据模型的数据集返回类型设定 2017-01-22 12:42:24 +08:00
thinkphp
776bf4805e 改进数据集对象的返回 由Query类select方法返回数据集对象 Connection类getResult方法不再进行数据集对象转换 2017-01-21 12:36:50 +08:00
thinkphp
e1b35abd51 改进count查询对group的支持 2017-01-19 18:52:26 +08:00
yunwuxin
b4290f0d01 完善分页 2017-01-16 14:41:39 +08:00
thinkphp
1e8e169b0a 改进where方法的相同字段多次查询 2017-01-13 17:53:11 +08:00
thinkphp
f37a5e8f55 改进Query类的whereTime方法支持更多的时间日期表达式(默认查询条件为大于指定时间表达式) 2017-01-12 17:07:40 +08:00