Query\ConnectionManager::connect
Parse the passed parameters and return a connection
Signature
public function connect(stdClass
$params )
Parameters
$params
—
\stdClass
Returns
- Query_Builder
Test Coverage
Information
- Coverage: 17/17 Lines (100%)
- Tests: 7
- Passed: 7 (100%)
Tests
- [ PASSED ] — Connection_Manager_Test::testConnect
- [ PASSED ] — Connection_Manager_Test::testGetConnection
- [ PASSED ] — MySQLQBTest::testBadDriver
- [ PASSED ] — PgSQLQBTest::testBadDriver
- [ PASSED ] — SQLiteQBTest::testBadDriver
- [ PASSED ] — FirebirdQBTest::testGetNamedConnection
- [ PASSED ] — FirebirdQBTest::testBadDriver