Commit Graph

278 Commits

Author SHA1 Message Date
thinkphp
513701788e 修正关联withCount查询 2018-04-16 12:46:58 +08:00
thinkphp
8f0da295bc 注释改进 2018-03-02 16:54:46 +08:00
thinkphp
95e9d848f7 改进一对一关联 2018-03-02 15:46:44 +08:00
thinkphp
d37c599ed5 Collection类改进 2018-03-01 19:01:18 +08:00
thinkphp
9606f235f2 改进 2018-02-14 12:14:06 +08:00
thinkphp
09402cee9b 修正一对一关联 2018-02-14 12:11:25 +08:00
thinkphp
f80073f9f9 改进一对一关联预载入查询 2018-02-08 17:27:26 +08:00
thinkphp
ccfe9ad612 改进一对一查询 2018-02-07 12:10:28 +08:00
thinkphp
b72caee28b 改进 2018-01-24 19:19:17 +08:00
thinkphp
554817c045 修正 2018-01-24 19:15:01 +08:00
thinkphp
09f031b371 修正MorphTo关联 2018-01-24 19:13:28 +08:00
thinkphp
df1c05a988 关联定义增加selfRelation方法用于设置是否自关联 2018-01-05 17:55:29 +08:00
thinkphp
ea2ce8f8de 改进自关联查询多级调用问题 2018-01-05 17:28:21 +08:00
thinkphp
282d04e4af 更新说明 2018-01-01 20:19:18 +08:00
thinkphp
43aad4fe11 调整BelongsTo的hasWhere方法 2017-12-26 16:32:07 +08:00
Karson
45bb02ed9d Update BelongsToMany.php 2017-12-19 11:05:06 +08:00
Karson
6405c68131 Update HasMany.php 2017-12-19 11:05:06 +08:00
Karson
a77e5d8ec8 Update HasOne.php 2017-12-19 11:05:06 +08:00
Karson
d6da940d20 Update BelongsTo.php 2017-12-19 11:05:06 +08:00
Karson
ac6a5c3ab5 Update OneToOne.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
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
44c1257326 改进Pivot 2017-11-21 16:30:47 +08:00
thinkphp
e7ab1e9a2d 改进 2017-11-21 15:36:36 +08:00
thinkphp
a1ad4e97df 改进多对多关联的中间表模型提示 2017-11-02 17:59:28 +08:00
thinkphp
5b15364fd2 修正has方法 2017-10-30 11:00:56 +08:00
thinkphp
b289997565 改进MorphTo关联 2017-10-23 12:05:11 +08:00
thinkphp
ba9efa867f 调整 2017-10-23 11:52:30 +08:00
thinkphp
4d131bb3e5 修正MorphTo关联 2017-10-23 11:47:55 +08:00
thinkphp
230ff0ec64 改进HasManyThrough 2017-10-22 22:43:29 +08:00
thinkphp
2a2b3882af 改进append方法支持一对一关联的bind设置 2017-09-15 17:32:50 +08:00
thinkphp
e2d2f37930 修正hasMany关联 2017-09-11 18:29:14 +08:00
thinkphp
1b65f2ec41 改进关联Relation类 2017-09-10 12:46:55 +08:00
thinkphp
56bce822f3 调整 2017-09-07 11:40:07 +08:00
thinkphp
6bab32b1ea hasOne关联的has方法改进 2017-09-07 11:26:46 +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
3664e46d2f Pivot架构方法添加默认值 2017-08-31 16:57:50 +08:00
thinkphp
8aacceac69 改进HasMany关联的getRelationCountQuery方法 2017-08-30 10:49:35 +08:00
yinggaozhen
64c51cdde6 修改connecttion和belongsTo若干文档注释错误 2017-08-03 11:29:14 +08:00
Hanqing Sun
80ea6df367 Collection::append() 判断数据是否存在(null)
调用collection()->append(['关联'=>['属性']]),如果遇到某个模型对象的关联查询到null,则append会导致null object错误
2017-07-31 10:52:15 +08:00
thinkphp
459a2290ac 注释调整 2017-07-27 08:01:39 +08:00
thinkphp
8ff20f98d0 改进关联的属性绑定 2017-07-20 17:52:11 +08:00
thinkphp
946845e0f4 代码改进 2017-06-23 14:48:38 +08:00