升级到5.1.28版本

This commit is contained in:
巴掌 committed 2018-11-01 09:01:46 +08:00
1 parent 4bc2bfa35a
commit 81d9f5e5e5
23 files changed
+321 -150

No files matched your search

@@ -236,20 +236,6 @@ abstract class OneToOne extends Relation
return $this->bindAttr;
}
/**
* 关联统计
* @access public
* @param Model $result 数据对象
* @param \Closure $closure 闭包
* @param string $aggregate 聚合查询方法
* @param string $field 字段
* @return integer
*/
public function relationCount($result, $closure, $aggregate = 'count', $field = '*')
{
throw new Exception('relation not support: ' . $aggregate);
}
/**
* 一对一 关联模型预查询拼装
* @access public