Commit Graph

2850 Commits

Author SHA1 Message Date
thinkphp
35ae8decf7 修正验证类的布尔值规则 2017-01-20 12:37:25 +08:00
thinkphp
e1b35abd51 改进count查询对group的支持 2017-01-19 18:52:26 +08:00
thinkphp
ecd0ff3536 完善Model的自动关联更新 2017-01-19 14:18:26 +08:00
thinkphp
55bcfca1bd Model类增加一对一关联自动删除功能 2017-01-19 13:50:57 +08:00
thinkphp
542b432fa6 支持聚合更新 2017-01-19 12:57:13 +08:00
thinkphp
5d4323feee Merge branch 'master' of https://github.com/top-think/framework 2017-01-19 12:38:43 +08:00
thinkphp
6afb6e981c Model类增加一对一关联自动写入机制 2017-01-19 12:35:20 +08:00
thinkphp
f22e317b9f Merge branch 'master' of https://github.com/top-think/framework 2017-01-18 22:01:55 +08:00
thinkphp
da2421113b 变量名调整 2017-01-18 22:01:28 +08:00
thinkphp
cffb772743 改进 2017-01-18 13:58:27 +08:00
thinkphp
4a7e4d5d28 一对一预载入 In查询方式兼容withField方法 2017-01-18 13:56:41 +08:00
thinkphp
4c2665b9f9 一对一预载入查询默认改为IN查询方式 2017-01-18 13:49:50 +08:00
thinkphp
be6d528f68 collection助手函数返回think\Collection对象 2017-01-18 10:25:10 +08:00
thinkphp
a1cb6ea4ca 修正一处变量错误 2017-01-17 13:45:51 +08:00
thinkphp
a3fd00eb35 修正一处错误 2017-01-17 10:55:26 +08:00
thinkphp
ed3becf64f 改进HasMany和OneToOne 2017-01-17 10:53:14 +08:00
thinkphp
ebfcbac863 改进Model类 2017-01-17 08:19:20 +08:00
thinkphp
8b962ae5c5 一对一关联类调整 2017-01-16 23:09:26 +08:00
thinkphp
1568af03d8 取消关联类无效的alias参数 仅morphTo关联保留 用于设置多态别名 2017-01-16 23:03:12 +08:00
thinkphp
908de8f4ee Merge branch 'master' of https://github.com/top-think/framework 2017-01-16 17:37:04 +08:00
thinkphp
ff4be602c0 调整HasMany类的has和hasWhere方法,取消第一个参数 2017-01-16 17:36:15 +08:00
yunwuxin
0877798447 修正cx标签 2017-01-16 17:30:14 +08:00
thinkphp
04c81ca6b5 改进Model类的has方法第二个参数支持使用数组或者闭包进行自定义条件查询 2017-01-16 17:03:53 +08:00
thinkphp
2db77f1aad 改进关联嵌套 2017-01-16 15:55:05 +08:00
thinkphp
47a869f3af Query类relation支持嵌套关联 2017-01-16 15:52:21 +08:00
yunwuxin
00136a3f4b 注释调整 2017-01-16 15:17:50 +08:00
yunwuxin
b4290f0d01 完善分页 2017-01-16 14:41:39 +08:00
thinkphp
771c0a90be 调整 2017-01-16 11:34:53 +08:00
thinkphp
f923c9dba5 独立出think\model\Collection类 用于模型数据集 2017-01-16 11:16:15 +08:00
ThinkPHP
0055484752 Apply fixes from StyleCI 2017-01-16 02:31:28 +00:00
thinkphp
d5d5314f2e Query类的relation方法和with方法一样支持使用闭包进行自定义关联查询 2017-01-16 10:31:03 +08:00
thinkphp
5c5e720b85 Merge branch 'master' of https://github.com/top-think/framework 2017-01-15 10:39:36 +08:00
thinkphp
84a832b3ec 增加关联延迟预载入(仅针对数据集对象) 2017-01-14 10:46:21 +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
28747aa5dc 改进Validate类的错误信息处理 2017-01-12 13:29:46 +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
hooklife
663d9e7a1e 修正PHPDoc错误 2017-01-09 18:06:20 +08:00