$connections
$connections : array
Class Manager
$ConnectionFactory : \app\framework\Component\Database\Connection\ConnectionFactory
$QueryBuilder : \app\framework\Component\Database\Query\Builder
connection(string $name = null) : \app\framework\Component\Database\Manager
Set up connection.
string | $name |
getConnection(string|null $name = null) : false|\app\framework\Component\Database\Connection\Connection
Return the connection or false if connection doesn't exist.
string|null | $name | Name of the connection can be null if only one connection is configured. |
useConnection(string $name = null) : \app\framework\Component\Database\Manager
Specify what connection shall be used.
string | $name | Leave empty to use default |
select(array $columns = array('*')) : \app\framework\Component\Database\Query\Builder
array | $columns |
table(string $name) : \app\framework\Component\Database\Query\Builder
string | $name |