Commit Graph

3538 Commits

Author SHA1 Message Date
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
f49ebcdc1d 命名规范调整loadRelation => load_relation 2017-01-16 11:02:49 +08:00
ThinkPHP
0c528dcd7a Merge pull request #446 from top-think/analysis-XVDRn3
Apply fixes from StyleCI
2017-01-15 20:52:24 -06: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
ba7232b678 增加laodRelation助手函数 用于数据集的延迟预载入关联查询 2017-01-15 18:50:51 +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
thinkphp
7cb833ae45 Revert "修正单元测试"
This reverts commit 3275b70156.

# Conflicts:
#	tests/thinkphp/library/think/template/taglib/cxTest.php
2017-01-06 17:36:36 +08:00
thinkphp
31ca473866 Revert "改进模板引擎的empty标签"
This reverts commit aecd3524a9.
2017-01-06 17:22: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
4e662949fa Merge pull request #426 from kukj/patch-2
Update BelongsToMany.php
2017-01-06 01:58:05 -06:00
悠悠山雨
4afee9c8b8 Update BelongsToMany.php
给$data默认值NULL,用于删除以关联外键为条件的中间表
2017-01-06 15:10:59 +08:00
ThinkPHP
418c029f89 Merge pull request #425 from birdy0815/patch-2
可以允许自定义Output的driver,以适应命令行模式下调用其它命令行指令
2017-01-06 00:32:54 -06:00
thinkphp
d81a52f8d2 Session类增加安全选项 2017-01-06 14:14:21 +08:00
birdy0815
07fe0e0ae7 可以允许自定义Output的driver,以适应命令行模式下调用其它命令行指令
这样在命令行下,调用别的命令行,可以直接一行一行地输出日志,而不用等到buffer完,才输出
2017-01-06 14:02:36 +08:00
thinkphp
883574dea2 改进自动时间字段的输出 2017-01-05 15:43:37 +08:00
thinkphp
8f5fbe2e9f 继续 2017-01-04 22:11:30 +08:00
thinkphp
3275b70156 修正单元测试 2017-01-04 22:06:55 +08:00
thinkphp
aecd3524a9 改进模板引擎的empty标签 2017-01-04 21:46:02 +08:00
thinkphp
8985a41c32 like查询条件支持数组 2017-01-04 16:50:42 +08:00
thinkphp
8f39a8ef7c 自动时间字段(create_time 和 update_time)的获取自动使用时间格式化 2017-01-04 12:41:13 +08:00
thinkphp
5b97e178fa Validate类的confirm验证改为恒等判断 2017-01-04 11:00:35 +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