Commit Graph

33 Commits

Author SHA1 Message Date
Karson
a77e5d8ec8 Update HasOne.php 2017-12-19 11:05:06 +08:00
thinkphp
88599fe33d 模型的hasWhere方法增加fields参数 2017-12-01 11:43:18 +08:00
thinkphp
5b15364fd2 修正has方法 2017-10-30 11:00:56 +08:00
thinkphp
2a2b3882af 改进append方法支持一对一关联的bind设置 2017-09-15 17:32:50 +08:00
thinkphp
6bab32b1ea hasOne关联的has方法改进 2017-09-07 11:26:46 +08:00
thinkphp
459a2290ac 注释调整 2017-07-27 08:01:39 +08:00
thinkphp
8ff20f98d0 改进关联的属性绑定 2017-07-20 17:52:11 +08:00
thinkphp
9bb01ec145 Model类增加setRelation方法和setAttr方法区分 2017-04-27 12:16:43 +08:00
thinkphp
6e5d6fa7b2 改进关联查询 2017-04-03 09:37:31 +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
苗高鹏
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
yunwuxin
6078d0ea39 模型注释 2017-01-23 13:46:17 +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
a1cb6ea4ca 修正一处变量错误 2017-01-17 13:45:51 +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
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
43b364e286 规范代码 2016-12-24 21:37:05 +08:00
thinkphp
78e5980451 一对一关联定义支持绑定关联模型属性到当前模型 在定义关联的时候使用bind方法 2016-12-14 13:56:19 +08:00
thinkphp
082b3bea81 改进一对一关联预载入查询 支持使用IN方式 一对一关联类增加setEagerlyType方法用于设置预载入查询方式 默认为JOIN方式,setEagerlyType(1) 使用IN方式
Loader类的parseName方法增加第三个参数 用于驼峰法转换是否首字母大写
2016-12-13 11:43:26 +08:00
thinkphp
74315bb894 HasOne关联支持使用hasWhere方法 2016-12-09 11:25:24 +08:00
thinkphp
5037c64f53 改进关联模型 2016-12-05 11:55:04 +08:00
thinkphp
d11e4aea10 关联模型架构调整 2016-12-05 08:42:08 +08:00