升级到v5128lts
This commit is contained in:
1 parent
a139519dec
commit
dbefa7f320
30 files changed
+184
-117
No files matched your search
@@ -88,7 +88,7 @@ class HasOne extends OneToOne
|
||||
}
|
||||
|
||||
return $this->query
|
||||
->whereExp($this->foreignKey, '=' . $this->parent->getTable() . '.' . $this->parent->getPk())
|
||||
->whereExp($this->foreignKey, '=' . $this->parent->getTable() . '.' . $this->localKey)
|
||||
->fetchSql()
|
||||
->$aggregate($field);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user