__construct()
__construct(string $details)
Create a new database handler and logically connect the given database.
Parameters
string | $details | the connection string |
Throws
- \Gishiki\Database\DatabaseException
the error occurred while connecting to the database
- \InvalidArgumentException
given details are invalid