Commit Graph

2899 Commits

Author SHA1 Message Date
thinkphp
1d23f67e11 优化代码 2017-01-31 10:47:17 +08:00
thinkphp
a3aa8a6de8 find方法查询缓存改进 2017-01-31 10:44:10 +08:00
thinkphp
570b5d1ed6 改进Url类生成 root为/的情况 2017-01-30 20:28:35 +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
thinkphp
57ff2d9fc5 Merge branch 'master' of https://github.com/top-think/framework 2017-01-30 08:34:33 +08:00
thinkphp
ba4c5d39b4 Model类增加readonly方法 2017-01-30 08:33:55 +08:00
ThinkPHP
eb5673878b Merge pull request #458 from hldh214/patch-2
修复闭包查询条件为空导致的 sql 语法错误
2017-01-30 08:19:21 +08:00
thinkphp
8a06e801c8 改进模型类的get和all方法 第二个参数为true或者数字表示缓存参数 2017-01-29 18:45:56 +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
79fb229181 全局请求缓存添加排除规则 添加request_cache_except配置参数 2017-01-26 20:38:22 +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
2ef5da7b1b Cache类store方法参数允许为空 表示获取当前缓存驱动句柄 2017-01-26 09:56:21 +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
thinkphp
cc77fe99e3 改进Validate类的ip验证规则 2017-01-24 13:09:08 +08:00
水平凡
d8cc777e1d 修正bindParam方法 2017-01-24 11:51:10 +08:00
thinkphp
390aeb3f01 Merge branch 'master' of https://git.topthink.com/topteam/framework 2017-01-23 13:58:41 +08:00
thinkphp
c270a32b9f 调整 2017-01-23 13:58:30 +08:00
yunwuxin
6078d0ea39 模型注释 2017-01-23 13:46:17 +08:00
yunwuxin
8311a4e39b 改进 2017-01-23 13:02:34 +08:00
thinkphp
c45229c762 改进Merge类save方法 2017-01-23 11:06:07 +08:00
thinkphp
6ade10482a 改进hidden visible append 支持单个点语法用于关联模型 2017-01-23 09:13:52 +08:00
thinkphp
9d1b13b666 Model类append方法支持追加关联对象属性 2017-01-23 08:42:20 +08:00
thinkphp
7348729b40 Query类的hidden和visible方法取消 改进Model类的hidden和visible方法支持操作关联属性 2017-01-22 23:21:46 +08:00
thinkphp
44654c76ef 修正软数据的delete(true)用法 2017-01-22 20:46:34 +08:00
thinkphp
d7dda49cbf 调整注释 2017-01-22 18:07:13 +08:00
thinkphp
d96ec0c350 添加方法声明注释 2017-01-22 18:04:36 +08:00
thinkphp
e2e217f1d6 改进一对一关联预载入 2017-01-22 17:36:56 +08:00
thinkphp
b1fa683e3d Query类增加hidden和visible方法 用于模型输出的字段隐藏和显示
with和relation方法支持多次调用
2017-01-22 17:13:41 +08:00
thinkphp
1b17858887 改进Model类toCollection方法 2017-01-22 13:45:54 +08:00
thinkphp
6f02e4b127 关联预载入方法调整 取消class参数 关联的数据集查询根据模型的数据集返回类型设定 2017-01-22 12:42:24 +08:00
thinkphp
a7a0051a78 改进关联属性 2017-01-21 23:01:31 +08:00
thinkphp
0944d0fe0e 预载入关联属性的默认规则 2017-01-21 17:27:17 +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
7e0282081d 改进Model类的allowField方法支持传入逗号分隔字符串 2017-01-20 21:36:52 +08:00
thinkphp
48b856a7f1 改进Model类的delete方法 支持没有主键情况下的删除操作 2017-01-20 21:26:51 +08:00
thinkphp
249c5e62e4 改进parseOrder对rand的支持 2017-01-20 20:27:55 +08:00
thinkphp
069d63a2fc 单元测试 2017-01-20 13:28:57 +08:00
thinkphp
5981a54c40 改进模型类的allowField方法 2017-01-20 12:37:51 +08:00
thinkphp
35ae8decf7 修正验证类的布尔值规则 2017-01-20 12:37:25 +08:00