This commit is contained in:
thinkphp
2017-12-20 14:23:50 +08:00
parent f8fa4b1639
commit 3728859d9a

View File

@@ -642,7 +642,7 @@ abstract class Builder
if ($u instanceof \Closure) {
$sql[] = $type . ' ' . $this->parseClosure($u);
} elseif (is_string($u)) {
$sql[] = $type . ' (' . $this->parseSqlTable($u) . ')';
$sql[] = $type . ' ( ' . $this->parseSqlTable($u) . ' )';
}
}
return ' ' . implode(' ', $sql);