Db::connect()
(Re)connect the database
Parameters
Name | Type | Default | Description |
---|---|---|---|
$params | array |null |
null |
Pass [] to use the default params from the config,don't pass any argument to get the current connection |