thinkphp
|
82e8da05e2
|
改进多态关联的关联数据添加
|
2017-03-27 19:23:21 +08:00 |
|
yunwuxin
|
05be8d9664
|
belongsToMany增加数据同步方法
|
2017-03-23 17:45:15 +08:00 |
|
thinkphp
|
0ee05eb1ca
|
改进Pivot类
|
2017-03-23 17:42:29 +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 |
|
thinkphp
|
fdd6558d69
|
调整关联模型的save方法返回值
|
2017-03-10 14:36:17 +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 |
|
thinkphp
|
138f48498e
|
改进Query类with方法
|
2017-02-23 18:25:20 +08:00 |
|
thinkphp
|
d85579faf8
|
改进一对一关联
|
2017-02-23 17:43:29 +08:00 |
|
thinkphp
|
46353f20a0
|
修正JOIN方式一对一关联预载入闭包查询
|
2017-02-20 17:43:15 +08:00 |
|
苗高鹏
|
21834f797d
|
Merge branch 'master' into bugfix3
|
2017-02-13 14:53:24 +08:00 |
|
thinkphp
|
532173e010
|
优化HasOne的has方法
|
2017-02-09 14:42:39 +08:00 |
|
thinkphp
|
a01c43472d
|
改进Model类的has和hasWhere方法
|
2017-02-09 14:26:36 +08:00 |
|
thinkphp
|
2639db4f9e
|
修正BelongsTo关联
|
2017-02-09 12:21:50 +08:00 |
|
thinkphp
|
fcfe91a97d
|
修正hasMany关联的has方法
|
2017-02-04 20:08:30 +08:00 |
|
thinkphp
|
ca228203c9
|
改进多对多的attach方法的返回值
|
2017-01-31 16:50:38 +08:00 |
|
thinkphp
|
390aeb3f01
|
Merge branch 'master' of https://git.topthink.com/topteam/framework
|
2017-01-23 13:58:41 +08:00 |
|
thinkphp
|
c270a32b9f
|
调整
|
2017-01-23 13:58:30 +08:00 |
|
yunwuxin
|
6078d0ea39
|
模型注释
|
2017-01-23 13:46:17 +08:00 |
|
yunwuxin
|
8311a4e39b
|
改进
|
2017-01-23 13:02:34 +08:00 |
|
thinkphp
|
c45229c762
|
改进Merge类save方法
|
2017-01-23 11:06:07 +08:00 |
|
thinkphp
|
7348729b40
|
Query类的hidden和visible方法取消 改进Model类的hidden和visible方法支持操作关联属性
|
2017-01-22 23:21:46 +08:00 |
|
thinkphp
|
d7dda49cbf
|
调整注释
|
2017-01-22 18:07:13 +08:00 |
|
thinkphp
|
d96ec0c350
|
添加方法声明注释
|
2017-01-22 18:04:36 +08:00 |
|
thinkphp
|
e2e217f1d6
|
改进一对一关联预载入
|
2017-01-22 17:36:56 +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
|
6afb6e981c
|
Model类增加一对一关联自动写入机制
|
2017-01-19 12:35:20 +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
|
ed3becf64f
|
改进HasMany和OneToOne
|
2017-01-17 10:53:14 +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
|
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
|
771c0a90be
|
调整
|
2017-01-16 11:34:53 +08:00 |
|
thinkphp
|
f923c9dba5
|
独立出think\model\Collection类 用于模型数据集
|
2017-01-16 11:16:15 +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 |
|