Commit Graph

20 Commits

Author SHA1 Message Date
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
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