mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
Connection类getAttribute方法 改成 getConfig 增加setConfig方法 Model类类型转换支持格式定义
This commit is contained in:
@@ -336,7 +336,7 @@ class Query
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$prefix = $this->connection->getAttribute('prefix');
|
||||
$prefix = $this->connection->getConfig('prefix');
|
||||
// 传入的表名为数组
|
||||
if (is_array($join)) {
|
||||
if (0 !== $key = key($join)) {
|
||||
|
||||
Reference in New Issue
Block a user