升级到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

+1 -1
View File
@@ -158,7 +158,7 @@ abstract class Relation
$result = call_user_func_array([$this->query->getModel(), $method], $args);
return $result === $this->query ? $this : $result;
return $result === $this->query && !in_array(strtolower($method), ['fetchsql', 'fetchpdo']) ? $this : $result;
} else {
throw new Exception('method not exists:' . __CLASS__ . '->' . $method);
}