Commit Graph

52 Commits

Author SHA1 Message Date
thinkphp
282d04e4af 更新说明 2018-01-01 20:19:18 +08:00
Karson
45bb02ed9d Update BelongsToMany.php 2017-12-19 11:05:06 +08:00
thinkphp
0c61269bcf 修正setDec方法的延迟写入 2017-12-13 17:54:53 +08:00
thinkphp
924d78d5f7 改进多对多的pivot对象 2017-12-13 17:12:51 +08:00
thinkphp
e3320cd3f6 改进多对多关联的save方法 2017-12-13 17:00:05 +08:00
thinkphp
6231c45a2a 修正多对多的多次查询BUG 2017-12-13 12:44:04 +08:00
thinkphp
88599fe33d 模型的hasWhere方法增加fields参数 2017-12-01 11:43:18 +08:00
thinkphp
e7ab1e9a2d 改进 2017-11-21 15:36:36 +08:00
thinkphp
a1ad4e97df 改进多对多关联的中间表模型提示 2017-11-02 17:59:28 +08:00
thinkphp
946845e0f4 代码改进 2017-06-23 14:48:38 +08:00
thinkphp
08e42118f6 改进多对多的数据更新 2017-06-05 11:24:33 +08:00
thinkphp
8271eea091 改进BelongsToMany关联查询 2017-06-01 16:49:21 +08:00
thinkphp
513f1f32f7 改进belongstomany的查询字段指定 2017-05-09 15:38:41 +08:00
thinkphp
9bb01ec145 Model类增加setRelation方法和setAttr方法区分 2017-04-27 12:16:43 +08:00
thinkphp
aebbf980a5 修正关联定义的一些问题 2017-04-24 13:58:59 +08:00
yunwuxin
05be8d9664 belongsToMany增加数据同步方法 2017-03-23 17:45:15 +08:00
thinkphp
8c79c435f5 优化 2017-03-17 19:42:23 +08:00
thinkphp
1f0d3bd74a 改进 2017-03-17 19:27:45 +08:00
thinkphp
224a9d5bb3 改进中间表名读取 2017-03-17 19:03:01 +08:00
thinkphp
f4629107a2 改进多对多关联,支持中间表模型自定义 并且定义的时候不需要使用完整表名 2017-03-17 18:52:19 +08:00
yunwuxin
f3c4cf2b25 修正 2017-03-03 12:22:34 +08:00
yunwuxin
ff7c860a62 重载BelongsToMany的selectOrFail findOrFail方法 2017-03-03 12:04:06 +08:00
yunwuxin
14993a7d9c 重载BelongsToMany的select find paginate方法 2017-03-03 11:58:29 +08:00
yunwuxin
0952e9231f 增加Pivot对象parent属性 2017-03-02 16:06:37 +08:00
yunwuxin
6d2541585d 多对多关联设置中间表模型
增加wherePivot方法
2017-03-02 14:16:12 +08:00
苗高鹏
21834f797d Merge branch 'master' into bugfix3 2017-02-13 14:53:24 +08:00
thinkphp
a01c43472d 改进Model类的has和hasWhere方法 2017-02-09 14:26:36 +08:00
thinkphp
ca228203c9 改进多对多的attach方法的返回值 2017-01-31 16:50:38 +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
1568af03d8 取消关联类无效的alias参数 仅morphTo关联保留 用于设置多态别名 2017-01-16 23:03:12 +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
悠悠山雨
4afee9c8b8 Update BelongsToMany.php
给$data默认值NULL,用于删除以关联外键为条件的中间表
2017-01-06 15:10:59 +08:00
thinkphp
d6b9e2f628 2017更新 2017-01-01 13:00:23 +08:00
thinkphp
a74b842d71 改进关联统计 2016-12-26 15:52:53 +08:00
thinkphp
4b6a39f6d3 修正 2016-12-22 23:57:47 +08:00
thinkphp
6433f8fdca 改进 2016-12-22 23:40:15 +08:00
thinkphp
340abd05e5 改进BelongsToMany类的saveall方法 增加第三个参数 用于指定额外参数是否一致 2016-12-22 18:12:33 +08:00
thinkphp
c2fff2b45d BelongsToMany类的attach方法改进 支持批量写入 2016-12-22 18:06:01 +08:00
thinkphp
3a78c93d11 改进Route类setRule方法 修正BelongsToMany类的attach方法 2016-12-22 17:55:35 +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
275d04d316 修正多对多关联删除 2016-12-07 18:17:45 +08:00
thinkphp
1f53806272 注释完善 2016-12-05 12:01:35 +08:00