Commit Graph

542 Commits

Author SHA1 Message Date
thinkphp
2c0ee2f616 改进软删除 2017-02-09 19:12:45 +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
88dab63314 增加断线重连机制和开关 2017-01-30 20:06:02 +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
Jim Liu
47bfd562fe 修复闭包查询条件为空导致的 sql 语法错误 2017-01-29 17:24:06 +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
13c7eb8452 改进连接器类 2017-01-26 15:10:21 +08:00
thinkphp
55b99355d7 改进Query类的setBuilder方法 避免因自定义连接器类后找不到生成器类 2017-01-26 13:55:01 +08:00
thinkphp
7d517177bc 删除Connection类废弃属性resultSetType 2017-01-24 16:49:20 +08:00
thinkphp
33849140da 优化Connection类close方法 2017-01-24 16:44:50 +08:00
水平凡
d8cc777e1d 修正bindParam方法 2017-01-24 11:51:10 +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
a13eb10116 改进写入数据的自动参数绑定 2017-01-21 14:20:26 +08:00
thinkphp
776bf4805e 改进数据集对象的返回 由Query类select方法返回数据集对象 Connection类getResult方法不再进行数据集对象转换 2017-01-21 12:36:50 +08:00
thinkphp
249c5e62e4 改进parseOrder对rand的支持 2017-01-20 20:27:55 +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
thinkphp
508ff846c3 取消min max sum avg方法的参数默认值 2017-01-12 16:03:19 +08:00
thinkphp
bd007e81e9 Query类增加getPdo 2017-01-12 14:47:20 +08:00
thinkphp
f2a82bcf82 改进today的日期查询 2017-01-12 13:53:09 +08:00
thinkphp
b54442a42f 改进单个字段多次Or查询情况的查询 2017-01-12 12:43:58 +08:00
thinkphp
b47fe5553b 修正null查询的条件合并 2017-01-12 12:17:53 +08:00
thinkphp
1ab44ff8e7 改进 2017-01-12 11:45:55 +08:00
thinkphp
5b5e7373e7 改进Query类条件查询一处问题 2017-01-12 10:45:21 +08:00
thinkphp
74a5101c9a Merge branch 'master' of https://github.com/top-think/framework 2017-01-11 22:35:25 +08:00
thinkphp
48064414c4 改进Query类paginate方法第一个参数可以使用数组参数 2017-01-11 22:35:02 +08:00
thinkphp
7ab6b6e04b 增加快捷查询方法 2017-01-11 18:17:32 +08:00
thinkphp
4cb2428df4 fetchPdo方法调整 2017-01-11 16:01:48 +08:00
thinkphp
214ed4976c Merge branch 'master' of https://github.com/top-think/framework
# Conflicts:
#	library/think/db/Connection.php
2017-01-10 10:35:35 +08:00
thinkphp
49108300c9 改进对存储过程调用的支持 改进getRealSql的调用机制 改进数据表字段使用中划线的参数绑定支持 2017-01-10 10:31:22 +08:00
thinkphp
ba7ca1d562 修正 2017-01-06 16:17:35 +08:00
thinkphp
fd2546730b 数据库配置参数增加result_type 用于设置数据返回类型 方法参数名称调整 2017-01-06 16:12:27 +08:00
thinkphp
8985a41c32 like查询条件支持数组 2017-01-04 16:50:42 +08:00
thinkphp
7fa018ca0c 改进Mysql驱动的getFields方法 2017-01-03 14:37:41 +08:00
thinkphp
c659275872 改进Query类的data的多次设置 inc 和dec方法 支持批量设置 2017-01-03 13:59:31 +08:00