mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 15:42:48 +08:00
一对一预载入查询默认改为IN查询方式
This commit is contained in:
@@ -20,7 +20,7 @@ use think\model\Relation;
|
|||||||
abstract class OneToOne extends Relation
|
abstract class OneToOne extends Relation
|
||||||
{
|
{
|
||||||
// 预载入方式 0 -JOIN 1 -IN
|
// 预载入方式 0 -JOIN 1 -IN
|
||||||
protected $eagerlyType = 0;
|
protected $eagerlyType = 1;
|
||||||
// 当前关联的JOIN类型
|
// 当前关联的JOIN类型
|
||||||
protected $joinType;
|
protected $joinType;
|
||||||
// 要绑定的属性
|
// 要绑定的属性
|
||||||
|
|||||||
Reference in New Issue
Block a user