Commit Graph

149 Commits

Author SHA1 Message Date
thinkphp
43b364e286 规范代码 2016-12-24 21:37:05 +08:00
thinkphp
c33cc2991b 增加时间戳自动写入的判断 2016-12-23 11:37:34 +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
f417aa6662 修正聚合模型的delete方法 2016-12-21 17:18:04 +08:00
thinkphp
c1107d3a85 修正聚合模型 2016-12-21 11:09:45 +08:00
thinkphp
5ba052d94f 改进 2016-12-14 14:23:20 +08:00
thinkphp
78e5980451 一对一关联定义支持绑定关联模型属性到当前模型 在定义关联的时候使用bind方法 2016-12-14 13:56:19 +08:00
thinkphp
5c1c1d5f60 修正HasManyThrough关联 2016-12-13 16:50:28 +08:00
thinkphp
082b3bea81 改进一对一关联预载入查询 支持使用IN方式 一对一关联类增加setEagerlyType方法用于设置预载入查询方式 默认为JOIN方式,setEagerlyType(1) 使用IN方式
Loader类的parseName方法增加第三个参数 用于驼峰法转换是否首字母大写
2016-12-13 11:43:26 +08:00
thinkphp
308a0b9ca8 MorphMany关联增加save和saveall方法 2016-12-09 15:01:34 +08:00
thinkphp
c5dbbb45da Relation类方法调整 2016-12-09 14:52:37 +08:00
thinkphp
d49b986bb8 修正Relation一处use 2016-12-09 14:43:04 +08:00
thinkphp
74315bb894 HasOne关联支持使用hasWhere方法 2016-12-09 11:25:24 +08:00
thinkphp
0dab46114c 修正HasMany关联的has和hasWhere方法 2016-12-09 11:18:27 +08:00
thinkphp
275d04d316 修正多对多关联删除 2016-12-07 18:17:45 +08:00
thinkphp
1f53806272 注释完善 2016-12-05 12:01:35 +08:00
thinkphp
5037c64f53 改进关联模型 2016-12-05 11:55:04 +08:00
thinkphp
1d2b44adc8 修正Query的select方法的关联预载入 2016-12-05 10:55:50 +08:00
thinkphp
d11e4aea10 关联模型架构调整 2016-12-05 08:42:08 +08:00
thinkphp
b62175c34d 多态关联支持预载入查询 2016-12-01 17:19:43 +08:00
thinkphp
7ef95130c1 修正关联一处问题 2016-12-01 12:15:17 +08:00
thinkphp
77d2731892 修正关联多对多一处错误 2016-12-01 11:28:49 +08:00
thinkphp
a02c7321bb 改进关联多对多的查询 增加getModel方法 2016-12-01 10:50:56 +08:00
thinkphp
099c977b0a morphTo支持多态类型字段别名定义 2016-11-30 22:52:42 +08:00
thinkphp
7f527c256e 关联模型支持多态一对多关联 2016-11-30 19:52:58 +08:00
thinkphp
61462a628e 改进多对多查询 2016-11-30 17:11:38 +08:00
thinkphp
9b2524d3a1 聚合模型支持 field定义需要查询的字段 2016-11-09 16:25:06 +08:00
thinkphp
3935ed5915 关联定义支持在关联方法中使用field获取指定查询字段 2016-11-09 16:01:59 +08:00
thinkphp
a9782f094a 改进全局查询范围 2016-10-01 15:32:37 +08:00
thinkphp
88dfa563b3 改进关联查询的全局命名范围查询 2016-09-30 22:11:29 +08:00
thinkphp
328a12eae5 聚合模型的relationModel属性改为动态属性 2016-09-30 18:32:06 +08:00
thinkphp
7f2880603c 改进聚合模型主键和关联键相同的情况 2016-09-30 15:10:10 +08:00
thinkphp
653437d80f 改进聚合模型 2016-09-30 12:42:22 +08:00
thinkphp
62cd93f1fe 改进聚合模型 主表的主键名和附表的关联键名一致导致关联数据写入错误的问题 2016-09-29 21:11:35 +08:00
thinkphp
6d3b6bf9fc 改进一对一预载入查询 2016-09-28 21:04:30 +08:00
thinkphp
f029a433f0 改进聚合模型save方法返回值 2016-09-21 14:05:11 +08:00
thinkphp
9abb98d485 改进Relation类save方法 2016-09-21 12:15:34 +08:00
thinkphp
fcde43a1b0 修正关联模型 多对多save方法一处问题 2016-09-21 12:08:07 +08:00
thinkphp
85204dfaff 改进聚合模型的save方法 主键写入 2016-09-19 14:48:32 +08:00
thinkphp
b14c1a9dc2 Merge模型save方法和model类参数和返回值统一 2016-09-13 22:54:22 +08:00
thinkphp
888480ca0a 还原Relation 2016-09-13 15:53:08 +08:00
thinkphp
942aa65c2d 改进Relation类增加getModel和getParentModel方法 2016-09-13 15:20:16 +08:00