$db
$db : \nre\models\DatabaseDriver
Database connection
Default implementation of a database model.
__construct(string $type, array $config)
Construct a new datamase model.
TODO Catch exception
string | $type | Database type |
array | $config | Connection settings |