mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
修正Relation类的getRelationInfo方法
This commit is contained in:
@@ -69,6 +69,7 @@ class Relation
|
|||||||
'foreignKey' => $this->foreignKey,
|
'foreignKey' => $this->foreignKey,
|
||||||
'localKey' => $this->localKey,
|
'localKey' => $this->localKey,
|
||||||
'alias' => $this->alias,
|
'alias' => $this->alias,
|
||||||
|
'joinType' => $this->joinType,
|
||||||
];
|
];
|
||||||
return $name ? $info[$name] : $info;
|
return $name ? $info[$name] : $info;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user