改进join方法解析

This commit is contained in:
thinkphp
2016-10-06 21:50:10 +08:00
parent 32e001cdc6
commit 7c49bd4420
2 changed files with 7 additions and 12 deletions

View File

@@ -696,9 +696,6 @@ class Query
$this->alias([$table => $alias]);
}
}
if (is_array($condition)) {
$condition = implode(' AND ', $condition);
}
$this->options['join'][] = [$table, strtoupper($type), $condition];
}
return $this;