Db::connect()
(Re)connect the database
Db::connect(array|null $params = null): Database
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $params | arrayornull |
null
|
Connection params; without them, the current connection is returned or a new one is created from the db.* options |