mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
改进Query类的connect方法
This commit is contained in:
@@ -115,6 +115,7 @@ class Query
|
|||||||
{
|
{
|
||||||
$this->connection = Db::connect($config);
|
$this->connection = Db::connect($config);
|
||||||
$this->setBuilder();
|
$this->setBuilder();
|
||||||
|
$this->prefix = $this->connection->getConfig('prefix');
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user