mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 22:52:49 +08:00
改进Query类的alias方法
This commit is contained in:
@@ -1189,6 +1189,9 @@ class Query
|
||||
} else {
|
||||
if (isset($this->options['table'])) {
|
||||
$table = is_array($this->options['table']) ? key($this->options['table']) : $this->options['table'];
|
||||
if (false !== strpos($table, '__')) {
|
||||
$table = $this->parseSqlTable($table);
|
||||
}
|
||||
} else {
|
||||
$table = $this->getTable();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user