Commit Graph

41 Commits

Author SHA1 Message Date
thinkphp
282d04e4af 更新说明 2018-01-01 20:19:18 +08:00
Karson
6405c68131 Update HasMany.php 2017-12-19 11:05:06 +08:00
thinkphp
88599fe33d 模型的hasWhere方法增加fields参数 2017-12-01 11:43:18 +08:00
thinkphp
a4b5d8908f 修正关联 2017-11-25 10:54:20 +08:00
thinkphp
6381d65bb3 改进一对多with关联查询的field支持 2017-11-24 17:36:43 +08:00
thinkphp
5706ed7e44 改进hasWhere查询的数据重复问题 2017-11-24 17:22:58 +08:00
thinkphp
e2d2f37930 修正hasMany关联 2017-09-11 18:29:14 +08:00
thinkphp
56bce822f3 调整 2017-09-07 11:40:07 +08:00
thinkphp
50e834c5b5 hasMany的has方法默认不指定字段 2017-09-07 11:24:14 +08:00
thinkphp
49b349be90 改进hasMany关联 2017-09-07 10:53:52 +08:00
thinkphp
8aacceac69 改进HasMany关联的getRelationCountQuery方法 2017-08-30 10:49:35 +08:00
thinkphp
459a2290ac 注释调整 2017-07-27 08:01:39 +08:00
thinkphp
9bb01ec145 Model类增加setRelation方法和setAttr方法区分 2017-04-27 12:16:43 +08:00
thinkphp
4dd5582cdd Merge branch 'master' of https://github.com/top-think/framework 2017-04-01 16:50:56 +08:00
ThinkPHP
5d89443496 Apply fixes from StyleCI 2017-04-01 16:49:21 +08:00
thinkphp
d3be47e269 改进关联模型 2017-04-01 16:13:44 +08:00
thinkphp
68a1882e1e 改进 2017-04-01 14:07:27 +08:00
thinkphp
ae501f4028 改进模型关联 2017-04-01 12:50:32 +08:00
thinkphp
fdd6558d69 调整关联模型的save方法返回值 2017-03-10 14:36:17 +08:00
苗高鹏
21834f797d Merge branch 'master' into bugfix3 2017-02-13 14:53:24 +08:00
thinkphp
fcfe91a97d 修正hasMany关联的has方法 2017-02-04 20:08:30 +08:00
yunwuxin
6078d0ea39 模型注释 2017-01-23 13:46:17 +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
ed3becf64f 改进HasMany和OneToOne 2017-01-17 10:53:14 +08:00
thinkphp
1568af03d8 取消关联类无效的alias参数 仅morphTo关联保留 用于设置多态别名 2017-01-16 23:03:12 +08:00
thinkphp
ff4be602c0 调整HasMany类的has和hasWhere方法,取消第一个参数 2017-01-16 17:36:15 +08:00
thinkphp
47a869f3af Query类relation支持嵌套关联 2017-01-16 15:52:21 +08:00
thinkphp
d5d5314f2e Query类的relation方法和with方法一样支持使用闭包进行自定义关联查询 2017-01-16 10:31:03 +08:00
hooklife
5c4df0ce08 修改架构函数为 构造方法 2017-01-10 15:48:42 +08:00
thinkphp
d6b9e2f628 2017更新 2017-01-01 13:00:23 +08:00
thinkphp
a74b842d71 改进关联统计 2016-12-26 15:52:53 +08:00
thinkphp
91e089b7e7 完善关联统计 避免一对一关联报错 2016-12-22 13:52:41 +08:00
thinkphp
bde2607442 Revert "关联预载入查询支持关联统计"
This reverts commit 9657ee01b1.
2016-12-22 13:30:43 +08:00
thinkphp
9657ee01b1 关联预载入查询支持关联统计 2016-12-22 12:52:13 +08:00
thinkphp
cd57d97f36 增加关联统计功能 2016-12-22 12:22:44 +08:00
thinkphp
308a0b9ca8 MorphMany关联增加save和saveall方法 2016-12-09 15:01:34 +08:00
thinkphp
0dab46114c 修正HasMany关联的has和hasWhere方法 2016-12-09 11:18:27 +08:00
thinkphp
5037c64f53 改进关联模型 2016-12-05 11:55:04 +08:00
thinkphp
d11e4aea10 关联模型架构调整 2016-12-05 08:42:08 +08:00