modify plugin name

This commit is contained in:
2022-02-25 18:11:09 +08:00
parent eff6ae0e95
commit 6febf0c20f
+10 -1
View File
@@ -183,7 +183,16 @@ class Connection extends Component
*/
public function beginTransaction(): static
{
$this->connections()->beginTransaction($this->cds);
$this->connections()->beginTransaction([
'cds' => $this->cds,
'username' => $this->username,
'password' => $this->password,
'attributes' => $this->attributes,
'connect_timeout' => $this->connect_timeout,
'read_timeout' => $this->read_timeout,
'dbname' => $this->database,
'pool' => $this->pool
]);
return $this;
}